From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,cea30133e185dc3 X-Google-Attributes: gidfee84,public X-Google-Thread: 1014db,cea30133e185dc3 X-Google-Attributes: gid1014db,public From: Asgar Ali Subject: Re: How do you release memory back to the kernel in C Date: 1998/05/22 Message-ID: <35652DA2.259C443B@citicorp.com>#1/1 X-Deja-AN: 355484429 Content-Transfer-Encoding: 7bit References: <35616C36.9167165F@citicorp.com> <895607898snz@genesis.demon.co.uk> <6k208g$ajq$1@news.iastate.edu> Mime-Version: 1.0 Reply-To: asgar.ali@citicorp.com X-Sender: "Asgar Ali" Content-Type: text/plain; charset=us-ascii Organization: Citicorp Newsgroups: comp.unix.osf.osf1,comp.lang.c Changes to those variables settings had no affect on this problem. They must be on Digital's wouldn't-it-be-nice-if in future they did something list! Try them and see, and send me the source if they work. Asgar. John Hascall wrote: > > }In article <35616C36.9167165F@citicorp.com> > } asgar.ali@citicorp.com "Asgar Ali" writes: > }>In DEC Unix (3.x and 4.x) I am finding that "free" does not release > }>memory back to the kernel so that it could be used by other processes. > }>This creates the problem that if several such processes are running each > }>needed a lot of memory at some time, none of them can share what the > }>others have used. Hence you run out of memory quickly. > > From 'man malloc' (DU 4.0d): > > Tuning Memory Allocation > > The behavior of these memory allocation functions can be tuned to optimize > their performance in a particular application. ... > John > -- > John Hascall, Software Engr. Shut up, be happy. The conveniences you > ISU Computation Center demanded are now mandatory. -Jello Biafra > mailto:john@iastate.edu > http://www.cc.iastate.edu/staff/systems/john/welcome.html <-- the usual crud