On 7 Jun 2002 at 17:14, Philip S Tellis wrote:
> free shows 75MB used. (22MB buffers).
> top shows no process using more than 1% memory.
> 
> I have a feeling that some process allocated a lot of memory while it 
> was running, and never freed it.
> 
> Question now is, how to I recover that memory?

Run a process that takes lot of memory and release it dutifully.. kernel won't 
release memory as long as nobody needs it, so what you can do is..call malloc 
with say 10MB in loop, wait for some time in each loop and then release it. 
Pile it to size of physical memory and everything will be in order.

I have seen lot of times that when I run openoffice along with netscape on my 
home 128MB PC and close it down, memory usage falls much below 65MB that KDE 
uses on startup. Someplace about 53MB. Maybe same trick would work for you..

Bye
 Shridhar

--
Matz's Law:     A conclusion is the place where you got tired of thinking.


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to