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 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-17 09:45 UTC by mcmatak
Modified: 2015-11-20 08:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 199444


Attachments
stacktrace (2.35 KB, text/plain)
2015-11-17 09:45 UTC, mcmatak
Details

Note You need to log in before you can comment on or make changes to this bug.
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