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 226406 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-20 14:24 UTC by Jiri Skrivanek
Modified: 2013-02-25 08:45 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Dump file. (3.34 KB, text/plain)
2013-02-20 14:24 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-02-20 14:24:10 UTC
Created attachment 131618 [details]
Dump file.

To reproduce:
- start IDE with empty userdir
- create new Java project
- wait until scanning finishes
- type "111" at the very beginning of JavaApplication1.java

http://beetle.cz.oracle.com/data/transfer/jskrivanek/heapdump.hprof

Product Version: NetBeans IDE Dev (Build 201302192300)
Java: 1.7.0_15; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b02
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Jan Lahoda 2013-02-20 15:56:50 UTC
On the technical level, this fixes the bug:
http://hg.netbeans.org/main/nb-javac/rev/1f9c3e45acfc
http://hg.netbeans.org/jet-main/rev/aa0993ce37c6

Its however unclear under which component this bug belongs. As the fix (and bug) is in the nb-javac, it should belong to a component where our dashboard counts the nb-javac's source lines. But that appears to be neither java/source nor java/compiler. So reassigning to ide/code to pass to the component under which this code belongs (i.e. under which these lines of code are counted in the dashboard).
Comment 2 Tomas Danek 2013-02-21 15:37:59 UTC
Source line counter should since now count also nb-javac code. (It will appear in dashboard once we assign component/subcomponent to nb-javac).  Will it be java/compiler, or we want to create brand new component?
Comment 3 Jan Lahoda 2013-02-21 18:24:09 UTC
(In reply to comment #2)
> Source line counter should since now count also nb-javac code. (It will appear

Thank you.

> in dashboard once we assign component/subcomponent to nb-javac).  Will it be
> java/compiler, or we want to create brand new component?

java/compiler is the correct component for that.
Comment 4 Tomas Danek 2013-02-22 07:08:10 UTC
...and since today, java/compiler is live on dashboard. Passing to java/complier, and marking as fixed according to comment #1.
Comment 5 Jan Lahoda 2013-02-22 07:47:33 UTC
(In reply to comment #4)
> ...and since today, java/compiler is live on dashboard. Passing to
> java/complier, and marking as fixed according to comment #1.

Thanks!