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.
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)
Created attachment 160086 [details] stacktrace
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.