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 262470 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-17 15:35 UTC by Exceptions Reporter
Modified: 2017-10-27 09:42 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 224625


Attachments
stacktrace (2.26 KB, text/plain)
2016-06-17 15:35 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-06-17 15:35:44 UTC
This issue was reported manually by thurka.
It already has 3 duplicates 


Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Mac OS X

User Comments:
GUEST: <Please provide a description of the problem or the steps to reproduce>
OutOfMemoryError: Java heap space

GUEST: help to solve this issue

GUEST: Ummm, used it for a few days?




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:351)
   at com.apple.laf.AquaPainter$AquaSingleImagePainter.createImage(AquaPainter.java:193)
   at com.apple.laf.AquaPainter$AquaSingleImagePainter.lambda$paintFromSingleCachedImage$279(AquaPainter.java:178)
Comment 1 Exceptions Reporter 2016-06-17 15:35:47 UTC
Created attachment 160086 [details]
stacktrace
Comment 2 Tomas Hurka 2016-06-17 15:40:15 UTC
OOME is caused by 'Find in Project' dialog. If you put large multi-line text into search dialog, it will subsequently tried to create UI component, which is very large. The problem is also in the title of the output window tab - which contains this long text merged to one line. 
'Find in Project' dialog should have some meaningful limit on the size of search text or the search text should be truncated when displayed in combobox or output window tab.