tag:blogger.com,1999:blog-3237724005744642470.post4470000806070277119..comments2014-09-05T21:54:37.641+01:00Comments on Captain Debug's Blog: java.lang.OutOfMemoryError: PermGenRoger Hugheshttp://www.blogger.com/profile/07042290171112551665[email protected]Blogger4125tag:blogger.com,1999:blog-3237724005744642470.post-86702143773294400602013-01-25T09:11:51.062Z2013-01-25T09:11:51.062ZHere is another useful link: http://frankkieviet.b...Here is another useful link: <a href="http://frankkieviet.blogspot.de/2006/10/classloader-leaks-dreaded-permgen-space.html" rel="nofollow">http://frankkieviet.blogspot.de/2006/10/classloader-leaks-dreaded-permgen-space.html</a>Stefan[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-65239329200090748902011-07-27T13:49:59.840+01:002011-07-27T13:49:59.840+01:00Philippe, thanks for the useful links.Philippe, thanks for the useful links.Roger Hugheshttp://www.blogger.com/profile/07042290171112551665[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-13409206260413740042011-07-26T20:15:16.230+01:002011-07-26T20:15:16.230+01:00That's not a VM bug. That's "just&quo...That's not a VM bug. That's "just" a memory leak. Fix the leak and you can redeploy as often as you want. The leak does not have to be in your code, it could also be in a library or the container. The very latest Tomcat 6 and 7 versions help a lot.<br /><br />You might find the following links of interest<br /><a href="http://wiki.apache.org/tomcat/MemoryLeakProtection" rel="nofollow">Tomcat Wiki MemoryLeakProtection</a><br /><a href="http://wiki.apache.org/tomcat/OutOfMemory" rel="nofollow">Tomcat Wiki OutOfMemory</a>Philippehttp://www.blogger.com/profile/00183492434713662454[email protected]tag:blogger.com,1999:blog-3237724005744642470.post-15634840656080474372011-07-22T20:19:34.714+01:002011-07-22T20:19:34.714+01:00This happens a lot on Tomcat and especially when w...This happens a lot on Tomcat and especially when we used Drools- everytime you reload/redeploy the web app.<br /><br />One solution in Tomcat- you can specify a shell file to run when the server has run out of memory. Which can be a 'restart' script. Not ideal but better than a server going down!Adam Perryhttp://www.blogger.com/profile/16839632259862699051[email protected]