> > Do you plan to increase this limit? > > i don't think so. Could somebody explain the reason for the 1 GB maximum datasize per process in OpenBSD? Is this a limit on the heap size of a process, or is it stack size + heap size?
I can imagine how this limit might arise on a 32-bit system, since a maximum of 4 GB of memory can be addressed by 32-bits. Perhaps (and this is pure speculation on my part), OpenBSD reserves one bit of every address for some security-related purpose, leaving only 2 GB of addressable memory? And since memory needs to be used for more than just the data of a single userland process, the 1 GB per process limit would make some sense. Am I even close in this hypothesis? How does the maximum datasize work on 64-bit systems?