From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikel Bauer Subject: Re: free memory usage Date: Fri, 09 May 2003 11:46:53 -0600 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3EBBE98D.3090109@bridgeband.net> References: <200305091125.31946.unix@amigo.net.gt> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200305091125.31946.unix@amigo.net.gt> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: - Luis - Cc: linux-admin@vger.kernel.org Is memory still technically "full" (used), or is it cached? Usually the kernel is smart enough to fix problems like that, and will free memory that's no longer being referenced (memory leaks really only exist if an app is still running, the kernel wont take away memory from a running app) I would take a look at your /proc/meminfo, and see if most of the "used" memory is accounted for in the cache. -- Mikel Bauer mikel@bridgeband.net - Luis - wrote: > Hi everyone, > > I got a RH7.3 box which runs a java app, but i got the problem that the app > didn't close the session with the server, so every day i got to reset the > server to free the memory use by all the java sessions. The first thing i > try, was to use a bash script to kill all the java sessions, but i find out > that the memory was still full, so the question is: > > How can i free that memory without rebooting the server? > > Thanks a lot