[ http://jira.jboss.com/jira/browse/JBAS-1319?page=comments#action_12316810 ] Adrian Brock commented on JBAS-1319: ------------------------------------
I've run the following script for an hour without seeing any memory leak or OutOfMemoryError. while (true); do wget http://localhost:8080/jmx-console; touch ~/jboss-4.0/workspace/build/output/jboss-4.0.2RC1/server/default/deploy/jmx-console.war/WEB-INF/web.xml; rm index.html; done I changed JBoss to run with -Xms32m and -Xmx32m which left about 1.7meg of free space which the GC was able to recycle. Next, is to verify using a profiler that there is nothing holding the ClassLoader after redeploy and the GC has done a full gc. > redeploy causes OutOfMemoryError > -------------------------------- > > Key: JBAS-1319 > URL: http://jira.jboss.com/jira/browse/JBAS-1319 > Project: JBoss Application Server > Type: Bug > Components: Web (Tomcat) service > Versions: JBossAS-4.0.1 Final > Environment: JBoss 4.0.1 running on fedora core 3, using jdk 1.5.0 > Reporter: Matthew Todd > Assignee: Adrian Brock > Attachments: analysis.zip > > > Constant redployment, even of a simple web application eventually causes an > OutOfMemoryError in JBoss. > To duplicate, keep on copying a .war package into a servers hot deploy > directory. Eventually an OutOfMemoryError occurs. > This is especially dangerous when running as a cluster, as when the node is > restarted, it is unable to join the cluster again. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
