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: | Severe freezes and instability when loading and editing project | ||
---|---|---|---|
Product: | java | Reporter: | zoska <zoska> |
Component: | Source | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Project
Crash logs, dump, gesturec etc Test case. |
Description
zoska
2011-02-28 21:51:48 UTC
Created attachment 106575 [details] Project Duh, libraries are too big. Get them from: http://jogamp.org/deployment/webstart/archive/ Jan, can you please evaluate how serious/probably the reported OOME is? Thanks a lot, David Created attachment 106651 [details]
Crash logs, dump, gesturec etc
Here are some NetBeans generated dumps I've collected while working with previously attached project (plus maybe some unrelated files). This is just zipped /home/piotrek/.netbeans/6.9/var/log folder without heap dumps.
I'm curious if anyone else has same problems as me.
Tell me if you need fresh & clean crash logs and/ or heap dumps.
It seems that, when a method cannot be resolved and the site is (or, possibly, implements) an interface with inheritance hierarchy complex enough, javac does so many queries and tries to construct and traverse so big tree of AmbiguityError/s, that the computation results in OOME. I will attach a simple test case that breaks current trunk build of NetBeans, and javacs from 1.6.0_20 and 1.7.0-ea-b124. Created attachment 106703 [details]
Test case.
Fix in nb-javac: http://hg.netbeans.org/main/nb-javac/rev/8c8fd9d662f8 fix in JDK7's javac/langtools: http://hg.openjdk.java.net/jdk7/tl/langtools/rev/74f0c05c51eb Update of the nb-javac library in NetBeans proper: http://hg.netbeans.org/jet-main/rev/b6143b0ddc2e Integrated into 'main-golden', will be available in build *201103080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/b6143b0ddc2e User: Jan Lahoda <jlahoda@netbeans.org> Log: #196134, #196181: updating the nb-javac library |