On 10/22/07, Ted Unangst <[EMAIL PROTECTED]> wrote: > On 10/22/07, Richard Storm <[EMAIL PROTECTED]> wrote: > > Is there possible workarounds for my program to allocate more memory than > 1GB? > > you can mmap a large file with PROT_SHARED. this doesn't count as > data, since you are in essence providing your own swap file for it. Does implementing PROT_SHARED workaround will work just like RAM or the disk will be hit even if swaping will not happen?
> > > Don't you think, that now when we have 64bit platform and RAM gets > > very cheap, it would be really needed to increase this limit? > > i think the problem is more about what MAXDSIZ is used for than its > value. it's not as simple as just bumping a number. and changing the > meaning of a number is no easy change either. for the most part, the > limit doesn't affect many people. Thank you for explanation, however it is hard to understand is it possible to increase it or not use for memory allocation, or is it hardware limit(!?)