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 239292 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 239570
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-10 02:42 UTC by vgrigory
Modified: 2014-02-24 18:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 205299


Attachments
stacktrace (2.97 KB, text/plain)
2013-12-10 02:42 UTC, vgrigory
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vgrigory 2013-12-10 02:42:55 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
vgrigory: just opened IDE

GUEST: .




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.lang.Throwable.getStackTraceElement(Throwable.java:0)
   at java.lang.Throwable.getOurStackTrace(Throwable.java:827)
   at java.lang.Throwable.getStackTrace(Throwable.java:816)
   at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.isClassLoading(FileChangedManager.java:322)
   at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.waitIOLoadLowerThan(FileChangedManager.java:218)
   at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.pingIO(FileChangedManager.java:255)
Comment 1 vgrigory 2013-12-10 02:42:56 UTC
Created attachment 142990 [details]
stacktrace
Comment 2 Jaroslav Havlin 2013-12-10 11:52:21 UTC
The biggest instance is org.netbeans.modules.parsing.lucene.LuceneIndex
Comment 3 Jaroslav Havlin 2013-12-10 11:58:41 UTC
(In reply to Jaroslav Havlin from comment #2)
> The biggest instance is org.netbeans.modules.parsing.lucene.LuceneIndex
I'm sorry for the partial comment, it was corrupted during login.


The biggest instance is org.netbeans.modules.parsing.lucene.LuceneIndex#63 (191 MB).
I'm not sure whether this is a bug, or there is just not enough memory for opened projects.

Reassigning to editor/Parsing & Indexing. Please evaluate it.

Vgrigory, please try setting the Xmx parameter, see https://performance.netbeans.org/howto/jvmswitches/.
Comment 4 Tomas Zezula 2014-02-24 18:44:23 UTC

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