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 243189 - OutOfMemoryError: Huge LinesImpl object
Summary: OutOfMemoryError: Huge LinesImpl object
Status: RESOLVED DUPLICATE of bug 239445
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-23 13:57 UTC by s_fuhrm
Modified: 2014-07-18 07:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205621


Attachments
stacktrace (1.04 KB, text/plain)
2014-03-23 13:57 UTC, s_fuhrm
Details
stacktrace (1017 bytes, text/plain)
2014-04-02 08:58 UTC, gbouzas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description s_fuhrm 2014-03-23 13:57:52 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Linux

User Comments:
GUEST: Opening the IDE.

GUEST: Estava utilizando o NetBeans, fui fazer outra coisa e ao voltar ao NetBeans (Alt+TAB), ficou uma tela preta, ao ver que havia travado, reiniciei o computador.

GUEST: I was doing projects and afterwards inishing them the program didnt let me run it. The main problem  was compilation

GUEST: it hung

GUEST: I was running a trivial application which created many big Java String objects.

s_fuhrm: Another OOME after starting with JDK 8.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at org.netbeans.core.output2.IntListSimple.growArray(IntListSimple.java:98)
   at org.netbeans.core.output2.IntListSimple.add(IntListSimple.java:63)
   at org.netbeans.core.output2.AbstractLines.updateFolds(AbstractLines.java:819)
   at org.netbeans.core.output2.AbstractLines.lineUpdated(AbstractLines.java:797)
   at org.netbeans.core.output2.OutWriter.write(OutWriter.java:221)
   at org.netbeans.core.output2.OutWriter.doWrite(OutWriter.java:477)
Comment 1 s_fuhrm 2014-03-23 13:57:55 UTC
Created attachment 146253 [details]
stacktrace
Comment 2 gbouzas 2014-04-02 08:58:15 UTC
Created attachment 146491 [details]
stacktrace

Running at load test scala program the whole night
Comment 3 Jaroslav Havlin 2014-05-12 12:08:28 UTC
The exception was thrown while growing the array for folding info.

Most of memory is consumed by a LinesImpl object, which contains a lot of LineInfo instances.
Comment 4 Jaroslav Havlin 2014-07-18 07:38:52 UTC
Some reports are duplicates of bug 232547, others are duplicates of bug 239445.
It should work correctly in NetBeans 8.0.
Thank you for reporting.

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