This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 52916 - Memory leak in web module deployment to Tomcat
Summary: Memory leak in web module deployment to Tomcat
Status: CLOSED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-01-04 17:13 UTC by _ rkubacki
Modified: 2005-07-12 12:44 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2005-01-04 17:13:18 UTC
dev build from Jan 4

I have a simple web module that I repeatedly
redeploy to running Tomcat instance. During this
the usage of permanent generation memory grow with
each redeploy. Most likely some Ant task is
leaking here and blocks unloading of classes from
memory.

The result will be OutOfMemoryError when the size
of permgen reaches 64MB.
Comment 1 _ rkubacki 2005-01-04 17:14:42 UTC
probably similar to issue 52846
Comment 2 _ rkubacki 2005-01-05 12:41:38 UTC
Now it seems that 50MB is enough and it is not growing too much above
this limit (or can be GC'ed later). I did ~100 redpeploys usualy
together with some change in JSP or Java source. I will close the bug now.