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 255970

Summary: OutOfMemoryError: Requested array size exceeds VM limit
Product: editor Reporter: josef.sabl
Component: Parsing & IndexingAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 220584
Attachments: stacktrace

Description josef.sabl 2015-10-16 09:48:43 UTC
This bug was originally marked as duplicate of bug 239570, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows 7

User Comments:
josef.sabl: This error appears randomly




Stacktrace: 
java.lang.OutOfMemoryError: Requested array size exceeds VM limit
   at org.apache.lucene.index.SegmentInfo.<init>(SegmentInfo.java:200)
   at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:286)
   at org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:182)
   at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1178)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$FlushIndexWriter.<init>(LuceneIndex.java:1245)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$DirCache.acquireWriter(LuceneIndex.java:901)
Comment 1 josef.sabl 2015-10-16 09:48:45 UTC
Created attachment 156757 [details]
stacktrace