NOT a direct answer to your question... The IBM Developer Works site has a wonderful set of tutorials on GC and Java. They can be found at http://www-106.ibm.com/developerworks/views/java/articles.jsp?sort_order=desc&expand=&sort_by=Date&show_abstract=true&view_by=Search&search_by=performance%3A They are written by the folks over at JavaPerformanceTuning.com (another wonderful site by the way.)
To date, I've only read 3 of the GC articles but I've already learned a LOT. Hope this helps! Bob On Wednesday 14 July 2004 09:43 am, Futchi wrote: > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
