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 250771

Summary: OutOfMemoryError: Java heap space
Product: web Reporter: Exceptions Reporter <exceptions_reporter>
Component: HTML ProjectAssignee: Tomas Mysik <tmysik>
Status: RESOLVED DUPLICATE    
Severity: normal CC: thurka
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 215734
Attachments: stacktrace

Description Exceptions Reporter 2015-02-27 15:25:15 UTC
This issue was reported manually by thurka.
It already has 1 duplicates 


Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
GUEST: I make the tutorial in netbeans doc :
Introduction to Ajax for Java Web Applications
https://netbeans.org/kb/docs/web/ajax-quickstart.html
with glassfish 4. I started the App and then Error.
My Spec: Netbook with win 7 Starter 2 GB RAM




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75)
   at java.awt.image.Raster.createPackedRaster(Raster.java:467)
   at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032)
   at java.awt.image.BufferedImage.<init>(BufferedImage.java:340)
   at com.sun.java.swing.plaf.windows.XPStyle$SkinPainter.createImage(XPStyle.java:673)
   at sun.swing.CachedPainter.paint0(CachedPainter.java:139)
Comment 1 Exceptions Reporter 2015-02-27 15:25:16 UTC
Created attachment 152283 [details]
stacktrace
Comment 2 Tomas Hurka 2015-02-27 15:30:32 UTC
Retained size of java.util.ArrayList#76487 is 146,005,678 bytes. This ArrayList is contains instances of DefaultLibraryImplementation. All this created by "org.netbeans.modules.web.clientproject.api.jslibs.JavaScriptLibrarySelectionPanel"
 thread.

*** This bug has been marked as a duplicate of bug 249165 ***