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 250634 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-23 14:52 UTC by albystar
Modified: 2015-09-10 16:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 215610


Attachments
stacktrace (2.22 KB, text/plain)
2015-02-23 14:52 UTC, albystar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description albystar 2015-02-23 14:52:06 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.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 8

User Comments:
albystar: trying to run program but error showing low memory




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 albystar 2015-02-23 14:52:08 UTC
Created attachment 152162 [details]
stacktrace
Comment 2 Tomas Hurka 2015-02-23 14:59:51 UTC
There is a lot of images held by form editor classes. Total retained size of images is 170 MB. All big images are there several times. Please investigate if those duplicities can be removed.
Comment 3 Tomas Pavek 2015-09-10 16:42:36 UTC
The memory held by images should be significantly improved by the fix in bug 251623. But the actual OOME here is from painting a tabbed pane with no obvious relation to GUI builder.