Re: [PATCH] Patch to Memory Subsystem ... (Needed?)

Meelis Roos (mroos@tartu.cyber.ee)
Mon, 9 Nov 1998 20:43:29 +0200


BS> I've even tried to play around with ulimit:

BS> bsc@cryo:/home/bsc > ulimit -l 2048 # max size any prog can get in this
BS> shell
BS> # is 2Mb (hopefully)
BS> bsc@cryo:/home/bsc > ./eat # goodbye available memory

BS> ... it might be I who uses the ulimit command wrongly ...

What about glibc using anonymous mmap for the mallocs instead of the data
segmant? AFAIK these mallocs are not counted in ulimit by the kernel so you
can ignore the ulimit sometimes. IIRC the malloc behaviour is configurable.

-- 
Meelis Roos (mroos@tartu.cyber.ee)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/