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 234340

Summary: IllegalStateException: this writer hit an OutOfMemoryError; cannot flush
Product: javascript Reporter: Exceptions Reporter <exceptions_reporter>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 203021
Attachments: stacktrace

Description Exceptions Reporter 2013-08-13 17:37:10 UTC
This bug was originally marked as duplicate of bug 222823, 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.4 Beta (Build 201307092200)
VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
GUEST: No steps to reproduce this, the computer was on sleep mode.




Stacktrace: 
java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot flush
   at org.apache.lucene.index.IndexWriter.doFlush(IndexWriter.java:3599)
   at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3588)
   at org.apache.lucene.index.IndexWriter.flush(IndexWriter.java:3567)
   at org.netbeans.modules.parsing.lucene.LuceneIndex$FlushIndexWriter.callFlush(LuceneIndex.java:1296)
   at org.netbeans.modules.parsing.lucene.LuceneIndex.txStore(LuceneIndex.java:411)
   at org.netbeans.modules.parsing.lucene.DocumentIndexImpl.storeImpl(DocumentIndexImpl.java:219)
Comment 1 Exceptions Reporter 2013-08-13 17:37:11 UTC
Created attachment 138651 [details]
stacktrace
Comment 2 Tomas Zezula 2013-08-30 10:37:57 UTC
Infinit recursion in:

org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:110)
        at org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:120)
        at org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:115)
        at org.netbeans.modules.javascript2.editor.index.JsIndexer.storeObject(JsIndexer.java:115)

I believe it's a duplicate of some issue which I've already evaluated.
Comment 3 Petr Pisl 2015-09-08 11:40:23 UTC
Problem with big css file, which has 10 millions new lines. Solved as issue #25334

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