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 216288 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED INCOMPLETE
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-02 00:58 UTC by Exceptions Reporter
Modified: 2012-09-05 13:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 191229


Attachments
stacktrace (2.46 KB, text/plain)
2012-08-02 00:58 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-08-02 00:58:15 UTC
This bug was originally marked as duplicate of bug 183289, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.1.2 (Build 201204101705)
VM: OpenJDK Client VM, 23.0-b21, OpenJDK Runtime Environment, 1.7.0_05-icedtea-mockbuild_2012_07_03_16_11-b00
OS: Linux

Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.io.ObjectOutputStream$HandleTable.growEntries(ObjectOutputStream.java:2327)
   at java.io.ObjectOutputStream$HandleTable.assign(ObjectOutputStream.java:2256)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1412)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
   at java.util.TreeMap.writeObject(TreeMap.java:2274)
Comment 1 Exceptions Reporter 2012-08-02 00:58:16 UTC
Created attachment 122659 [details]
stacktrace
Comment 2 Jaroslav Havlin 2012-08-02 07:10:21 UTC
I seems that the exception is not related to Find in Projects.
You have probably changed Logger level for parsing. Is the exception thrown if the level is not changed (the default one is used)?
Comment 3 Jaroslav Havlin 2012-09-05 13:39:32 UTC
(In reply to comment #2)
> You have probably changed Logger level for parsing. Is the exception thrown if
> the level is not changed (the default one is used)?
I'm sorry, my mistake, I checked the IDE Log again and all messages have level INFO, so the level was not changed.

But I still cannot find cause of the OutOfMemoryError. Maybe indexing of a large number of files.

Closing as incomplete. Please reopen if you can add more information.
Thank you.