Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!execu!sequoia!rpp386!jfh From: jfh@rpp386.cactus.org (John F Haugh II) Newsgroups: comp.unix.aix Subject: Re: 3rd party memory for RS-6000 530 installed! Message-ID: <19031@rpp386.cactus.org> Date: 6 Feb 91 12:58:26 GMT References: <1991Jan29.143725.16144@rice.edu> <5055@awdprime.UUCP> Reply-To: jfh@rpp386.cactus.org (John F Haugh II) Organization: Lone Star Cafe and BBS Service Lines: 19 X-Clever-Slogan: Recycle or Die. In article <5055@awdprime.UUCP> ...@cs.utexas.edu:ibmaus!auschs!leopard.austin.ibm.com!frank writes: >> Now that we have 64 Mbytes, does anyone know how to configure >> the kernel such that malloc will allocate 64 mbytes (or more) ? >> Right now, malloc refuses to allocate more than 32 mbytes and >> we have not been able to figure out how to change this. > >I think that you need to look at the 'ulimit' command. At least on my >machine, the limit for memory is 32M. You also need to be aware that the algorithm for AIX v3's malloc is the same one used by BSD. It uses "power of 2" allocation, which causes requests to be rounded up to the next larger power of 2. Thus, for a 33MB request to be satisfied, you would have to have 64MB of space remaining in your data segment. -- John F. Haugh II UUCP: ...!cs.utexas.edu!rpp386!jfh Ma Bell: (512) 832-8832 Domain: jfh@rpp386.cactus.org "I've never written a device driver, but I have written a device driver manual" -- Robert Hartman, IDE Corp.