tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Layman <randy.lay...@aswethink.com>
Subject RE: Known Memory clean-up issues?
Date Thu, 29 Nov 2001 19:44:35 GMT

	Also, before an OutOfMemory is thrown, the Garbage collector is
guarenteed to run, meaning that you really are using all of your memory.  I
would look at what you are doing in your code - I have servlets that run for
weeks without eating up any significant portion of memory.

	Randy


> -----Original Message-----
> From: Yoav Shapira [mailto:shapira@mpi.com]
> Sent: Thursday, November 29, 2001 3:08 PM
> To: Tomcat Users List
> Subject: Re: Known Memory clean-up issues?
> 
> 
> Howdy,
> 
> > Any harm in forcing garbage collection to run?
> 
> You cannot force garbage collection to run, only suggest it to the
> JVM via methods like System.gc().  If you're having difficulty
> tracking down memory usage, try a profiler like OptimizeIt that has
> entire memory trees.
> 
> In addition, you can use parameters like hprof and verbosegc on
> the java command line to assist you in monitoring garbage collection.
> 
> Yoav Shapira
> 
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
> 

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message