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: | OutOfMemoryError: GC overhead limit exceeded | ||
---|---|---|---|
Product: | java | Reporter: | kevcundick |
Component: | Compiler | Assignee: | Dusan Balek <dbalek> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexvsimon, rider453, wrm007 |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 210480 |
Attachments: | stacktrace |
Description
kevcundick
2014-06-27 17:09:45 UTC
Created attachment 147807 [details]
stacktrace
Tons of JCClassDecl trees held by DocEnv.treePaths variable. It is declared as WeakHashMap<JCTree, TreePath>, however since every value holds its key (TreePath holds given JCTree at its end), all map entries are held forever. The real pain is that every expression evaluated by debugger adds a new entry to this map. Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/bcb60d11f7f2 http://hg.netbeans.org/main/nb-javac/rev/145d232bd232 *** Bug 245934 has been marked as a duplicate of this bug. *** *** Bug 244927 has been marked as a duplicate of this bug. *** Integrated into 'main-silver', will be available in build *201407300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/bcb60d11f7f2 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #245293: OutOfMemoryError: GC overhead limit exceeded - fixed. *** Bug 250893 has been marked as a duplicate of this bug. *** *** Bug 244828 has been marked as a duplicate of this bug. *** |