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 238822

Summary: OutOfMemoryError: Java heap space
Product: editor Reporter: GenKabuki
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: NEW ---    
Severity: normal CC: allisonwillian, bambule, bouche, cspeak, ctepeo, etitan, jm10, NoTengoNombre, pborregg, RajaGanapathi, ShivarajRH, vadimfg, Vitzkrieg, webmasterUrbannus
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205583
Attachments: stacktrace

Description GenKabuki 2013-11-26 12:37:17 UTC
This bug was originally marked as duplicate of bug 233824, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows XP

User Comments:
genkabuki: Open the IDE and work on a project.  The validating toolset task is also running without completing. Netbeans is running on a corporate machine whose hard drive has encryption that slows things down.

java.lang.OutOfMemoryError: Java heap space
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.addConditionWaiter(
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(
   at java.util.concurrent.DelayQueue.take(
Comment 1 GenKabuki 2013-11-26 12:37:19 UTC
Created attachment 142593 [details]
Comment 2 Tomas Hurka 2013-11-26 15:07:52 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. 17% of the heap is occupied by float[], 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.
Comment 3 Petr Cyhelsky 2014-03-28 10:25:13 UTC
*** Bug 243161 has been marked as a duplicate of this bug. ***
Comment 4 Tomas Hurka 2014-06-27 08:25:16 UTC
*** Bug 245237 has been marked as a duplicate of this bug. ***