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 256640

Summary: OutOfMemoryError: Java heap space
Product: debugger Reporter: mcmatak
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 199444
Attachments: stacktrace

Description mcmatak 2015-11-17 09:45:13 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
GUEST: reiniciando

GUEST: left project running all night

GUEST: ;

mcmatak: trying to use fast help




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75)
   at java.awt.image.SinglePixelPackedSampleModel.createDataBuffer(SinglePixelPackedSampleModel.java:242)
   at sun.awt.image.IntegerInterleavedRaster.<init>(IntegerInterleavedRaster.java:72)
   at sun.awt.image.IntegerInterleavedRaster.createCompatibleWritableRaster(IntegerInterleavedRaster.java:530)
   at java.awt.image.ConvolveOp.createCompatibleDestImage(ConvolveOp.java:280)
   at java.awt.image.ConvolveOp.filter(ConvolveOp.java:177)
Comment 1 mcmatak 2015-11-17 09:45:15 UTC
Created attachment 157373 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-11-20 08:36:14 UTC
most of the reports have low Xmx: 300, 400 or 700MB while the NB default is 1024Mb. 
The only relevant report is http://statistics.netbeans.org/exceptions/exception.do?id=759310: a HashMap of over 8 million entries (HM#91686) is held by 
vm (Java frame)	JPDAThreadImpl	vm (Java frame)
target	VirtualMachineImpl	target
waitingQueue	TargetVM	waitingQueue
this	HashMap	this