Maximum code size and heep

Ed Alley alley1 at llnl.gov
Mon Jan 31 15:42:00 PST 2005


I am running i386 FreeBSD-4.9. My hardware has 2GB of
memory and 3GB swap. However, I have noticed that
I cannot make a running code larger than about
500MB. If the code grows from the heep
by mallocs larger than this I get coredumps.
The coredumps are no larger than about 500MB.

Is there a system limit on the size of the heep,
or something that disallows running with more
than 500MB total size? even though I have
2GB RAM.....

                Ed Alley
                wea at llnl.gov



More information about the freebsd-questions mailing list