"Brahm van Niekerk" <[EMAIL PROTECTED]>
>When I start Apache up, about 18MB of memory is used.  Then as I run
>servlets (which I presume is then being loaded into memory), the memory
>usage increases to about 50MB.  Then as I recompile and reload the servlets,
>the memory usage keeps on going up until its starts paging out to swap
>disks.  The paging activity becomes quite intense and it doesn't seem as
>though any memory is being released.

Sounds like a memory leak. If you have static data or threads referencing
memory, that memory won't get reclaimed by the GC. Try monitoring GC with
the -verbosegc option to the JVM, and use tools like IBM's JInsight
alphaworks.ibm.com, OptimizeIt www.optimizeit.com, etc., to analyze where
the memory is going.



-- Ari Halberstadt mailto:[EMAIL PROTECTED] <http://www.magiccookie.com/>
PGP public key available at <http://www.magiccookie.com/pgpkey.txt>




-- --------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to