On Wed, Oct 20, 2004 at 11:26:56AM +0200, Tom Schouten wrote:
On Wed, Oct 20, 2004 at 12:29:36PM +0200, Tim Blechmann wrote:
what sets the upper limit actually?
from what i understand there is no actual limitation in memory ...
i found this posting on the linux kernel mailing list by Chris Friesen:
and that the apps may segfault if they try to write to newly allocated memory and there is no more left. It will still be possible to segfault on newly allocated stack as well.
so it depends on _when_ it's written to the memory ...
cheers ... tim
it seems this indeed can only be solved by allocating everything in advance.. so what you suggest might be a good idea.
maybe a special-purpose malloc would do the trick?
i mean, one that does not free the pages to the kernel. like pdp works :)