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 257475

Summary: OutOfMemoryError: Java heap space
Product: editor Reporter: danabyrd
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222036
Attachments: stacktrace

Description danabyrd 2016-01-08 10:11:20 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: OpenJDK 64-Bit Server VM, 24.91-b01, OpenJDK Runtime Environment, 1.7.0_91-b02
OS: Linux

User Comments:
danabyrd: I had too many windows open on the desktop, not in netbeans.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.lang.SecurityManager.getClassContext(SecurityManager.java:0)
   at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1661)
   at org.netbeans.TopSecurityManager.checkMemberAccess(TopSecurityManager.java:450)
   at java.lang.Class.checkMemberAccess(Class.java:2295)
   at java.lang.Class.getDeclaredMethod(Class.java:2014)
   at org.openide.util.lookup.implspi.ActiveQueue.removeBetter(ActiveQueue.java:217)
Comment 1 danabyrd 2016-01-08 10:11:21 UTC
Created attachment 158061 [details]
stacktrace
Comment 2 Tomas Hurka 2016-01-08 12:24:05 UTC
There is a lot of org.netbeans.modules.editor.lib2.highlighting.HighlightItem
instances and other instances from org.netbeans.modules.editor.lib2.view
package. There is unusually high number of float[] instances, most of which are
held from org.netbeans.modules.editor.lib2.view.HighlightsView. There is also
unusual high number of java.awt.geom.AffineTransform instances.

It looks like duplicate of issue #238822.