Details
Description
When certain ICEfaces applications are repeatedly redeployed, the following Error will be displayed, requiring an application server restart:
java.lang.OutOfMemoryError: PermGen space
For instance, the following script can monitor this and reproduce the problem:
while true; sleep 5; do curl -o /tmp/auction.html http://localhost:8080/auctionMonitor/; cp samples/auctionMonitor/dist/auctionMonitor.war /tmp/apache-tomcat-5.5.20/webapps/; /usr/local/jdk1.6.0_01/bin/jmap -J-Xmx512m 17824; done
java.lang.OutOfMemoryError: PermGen space
For instance, the following script can monitor this and reproduce the problem:
while true; sleep 5; do curl -o /tmp/auction.html http://localhost:8080/auctionMonitor/; cp samples/auctionMonitor/dist/auctionMonitor.war /tmp/apache-tomcat-5.5.20/webapps/; /usr/local/jdk1.6.0_01/bin/jmap -J-Xmx512m 17824; done
Activity
Ted Goddard
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #13944 | Tue May 22 14:20:32 MDT 2007 | ted.goddard | Disabling timed cleanup due to permgen leak ( |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/samples/auctionMonitor/src/com/icesoft/applications/faces/auctionMonitor/beans/LogBean.java
|
Ted Goddard
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 1.6DR#5 [ 10071 ] | |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 1.6 [ 10031 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23197 | Wed Nov 24 10:57:19 MST 2010 | carlo.guglielmin | Re-added nightly TimerTask that resets the auction items. This was previously removed because of an obscure 2007 bug |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/samples/auctionMonitor/src/com/icesoft/applications/faces/auctionMonitor/beans/ClockBean.java
MODIFY /icefaces2/trunk/icefaces/compat/samples/auctionMonitor/src/com/icesoft/applications/faces/auctionMonitor/beans/LogBean.java |
This seems to be a known issue with classloaders not releasing class definitions after redeployment.
http://forum.hibernate.org/viewtopic.php?t=960856&highlight=leaks