Summary: | PermGen Space OutOfMemory Error after repeated Reload | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | Rich Unger <rich.unger> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 5.5.9 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
URL: | http://www.netbeans.org/issues/show_bug.cgi?id=86407 |
Description
Rich Unger
2006-10-04 09:25:02 UTC
See http://www.netbeans.org/issues/show_bug.cgi?id=86407 for more details. It's unclear from the description and linked netbeans bug report whether you are seeing this issue only when running within netbeans. Have you confirmed this behaviour running tomcat outside of netbeans? Sorry, I paraphrased in the initial description. The NetBeans bug report does specifically state, however: "Using Tomcat's Manager user interface (instead of NetBeans) I repeatedly redployed (the button is labeled "Reload" in the Tomcat Manager UI) a simple web application and I saw perm gen increase in size (by about 8K) each time." There are known issues around reloading of the apps, some are related to Threads and ThreadLocal references. Do you have a test case, we'd love to get our hands on it. This was just the default webapp template in the NetBeans 5.0 IDE. You can create a new web application in NB, and build a .war file from it and use that. That will give you a webapp that grows by 8k per reload. Just by going to the "libraries" customizer for the project, and adding the "JSF" library from the default list of libraries, you can make each reload increase your PermGen space usage by over a megabyte. |