Hi all,
            I am running an app. with several threads running in the
background; these threads are simply loading data into the servlet
context, and writing files out streams.
 
A thread updating 5 parameters in the servlet context
A thread writing each of these parameters to a new file
 
Both threads sleeps for only 1 second.
 
In each cycle I am closing and flushing the out streams, and assign null
to all objects
 
While monitoring the memory usage, I can see it just increasing, until
the JVM reach the max size of the memory
 
 
Catalina.bat JAVA_OPTS
 
set JAVA_OPTS=-server -Xms256m -Xmx256m -XX:NewSize=64m
-XX:MaxNewSize=128m -XX:SurvivorRatio=8 -XX:MaxTenuringThreshold=5
-XX:TargetSurvivorRatio=75 -XX:PermSize=32m -XX:MaxPermSize=32m -Xss128k
-XX:+DisableExplicitGC -verbose:gc  
 
 
I searched java.sun.com but did not find any indication or help docs to
this error, please help
 
 
 

Reply via email to