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.
Summary: | LowPerformance took 10393 ms. | ||
---|---|---|---|
Product: | projects | Reporter: | _ wadechandler <wadechandler> |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | Keywords: | PERFORMANCE |
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 190935 |
Attachments: | nps snapshot |
Description
_ wadechandler
2012-07-23 02:50:40 UTC
Created attachment 122255 [details]
nps snapshot
from the symptoms described by wadechandler, it appears like the following problem: with many maven projects around, when the heap memory starts to reach it's hard limit, soft references get de-referenced. Significant one for this issue is the one holding o.a.maven.MavenProject, the entire maven's model. Unfortunately in many cases we are just trading memory for CPU here, especially if project opening is still going on. In 7.3 codebase (current dev builds) I've fixed issue 215159, bringing the memory requirements of the maven model down significantly. When just opening 300 glassfish projects we used to hit the memory ceiling as described in this issue, with the fix we're way below the limit and also significatly faster (no gc, no recreation of MavenProject objects) if possible, please try with the latest dev builds. *** This bug has been marked as a duplicate of bug 215159 *** |