Are you using `free' command to report free memory? If you do it's a common error to look at the first line of report. `used' column there includes memory used for cache and buffers. Refer to the second line, the one that starts with `-/+ buffers/cache:'.
Hope it helps. ----- Original Message ----- From: "Junjie Ding" <[EMAIL PROTECTED]> To: "Paul Cody" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 8:33 PM Subject: RE: [JBoss-user] Anyway to clean memory usage after run jboss? > Hi Paul, > > Yeah, that's what I thought. I killed all java process. I have no Timer > or Threading.... Those memory is taken by nobody. Just seems like memory > leak. > > As I remember, I didn't run into this problem when I was using Solaris 7. > I just have this problem recently when I move to Linux. > > And there is another issue. I downloaded JBoss3.0 yesterday and tried to > deploy > my application there, just trying to compile and deploy. The memory usage > goes up > in the deploy process.... > > Any suggestion? > > Thanks a lot, > > Junjie > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Paul Cody > Sent: Wednesday, May 15, 2002 12:01 PM > To: 'Junjie Ding'; [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Anyway to clean memory usage after run jboss? > > > What do you mean by "does not release memory"? You should never have to > restart the machine, this is completely unnecessary. Just kill the java > process that is running JBoss. If your application is not shutting down > cleanly, think about any threads that you may be creating, esp things like > java.util.Timer or interaction with the JMX Timer service. If necessary, > you can run a debugger to see where the threads are waiting. > > Paul > > > -----Original Message----- > > From: Junjie Ding [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, May 15, 2002 11:28 AM > > To: [EMAIL PROTECTED] > > Subject: [JBoss-user] Anyway to clean memory usage after run jboss? > > > > > > I am running JBoss in Redhat linux 7.1(Linux 2.4.2-2), using > > jdk1.3.1_01 and > > JBoss-2.4.4_Tomcat-4.0.1. > > > > The problem I have is JBoss doesn't release all the memory it > > took after I > > ran it > > and my application. The memory it takes increases as more > > beans I use in my > > application > > but it doesn't release them. Even if I shut down JBoss. The > > only work around > > I have now > > is restart the machine, which is ridiculous. I'm not sure if > > this is because > > of memory > > leak in jboss or jdk1.3.1. > > > > Can anybody point me out if this is because of JBoss and the > > solution? Any > > related > > information will be helpful and appreciated! > > > > Thanks > > > > Epic > > > > > > > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user