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 256971

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

Description Exceptions Reporter 2015-12-04 08:30:00 UTC
This bug was originally marked as duplicate of bug 239570, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
FraGoTe: Open my NB

GUEST: error




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.text.MessageFormat.<init>(MessageFormat.java:1188)
   at java.text.MessageFormat.format(MessageFormat.java:835)
   at java.util.logging.Formatter.formatMessage(Formatter.java:138)
   at org.netbeans.core.startup.logging.NbFormatter.print(NbFormatter.java:80)
   at org.netbeans.core.startup.logging.NbFormatter.format(NbFormatter.java:68)
   at java.util.logging.StreamHandler.publish(StreamHandler.java:196)
Comment 1 Exceptions Reporter 2015-12-04 08:30:01 UTC
Created attachment 157661 [details]
stacktrace
Comment 2 Tomas Hurka 2015-12-17 14:02:27 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.