malloc(), virtual memory

Chris Torek chris at umcp-cs.UUCP
Fri Sep 6 23:23:48 AEST 1985


The 4.2 malloc rounds each request up to the nearest power of two
(sounds space inefficient [and is], but very time efficient; see
Korn's paper in Proceedings Winter '85 Usenix).  Since as distributed
4.2 has a per-process VM limit of 6M, you cannot allocate more than
4M with malloc.  (Of course if you raise the VM limits you can get
as much space as you like, provided you have lots of paging space.)
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Comp.unix mailing list