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 250620 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
Depends on:
Reported: 2015-02-23 08:25 UTC by Exceptions Reporter
Modified: 2018-01-02 11:53 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215598

stacktrace (2.22 KB, text/plain)
2015-02-23 08:25 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-02-23 08:25:05 UTC
This issue was reported manually by thurka.
It already has 1 duplicates 

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 24.71-b01, Java(TM) SE Runtime Environment, 1.7.0_71-b14
OS: Windows 7

User Comments:
GUEST: too slow and not responsive

java.lang.OutOfMemoryError: Java heap space
   at java.awt.image.DataBufferInt.<init>(
   at java.awt.image.Raster.createPackedRaster(
   at java.awt.image.DirectColorModel.createCompatibleWritableRaster(
   at java.awt.image.BufferedImage.<init>(
   at sun.swing.CachedPainter.paint0(
Comment 1 Exceptions Reporter 2015-02-23 08:25:07 UTC
Created attachment 152149 [details]
Comment 2 Tomas Hurka 2015-02-23 08:29:12 UTC
The heap dump contains 5,736,000 of org.eclipse.persistence.jpa.jpql.parser.IdentificationVariableDeclaration instances and 5,736,000 of org.eclipse.persistence.jpa.jpql.parser.AbstractExpression$Info instances. It looks like the problem is caused by parsing the following query:

select c from OlayKayit c inner join kasa k on c.kasaId = k.kasaId where terminalSerialNo = :terminalSerialNo

This look identical to issue #239884 and issue #244886, but this report is from NB 8.0.2, where issue #239884 should be fixed. Please evaluate.