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 237836

Summary: OutOfMemoryError: Java heap space
Product: editor Reporter: cpc4
Component: Parsing & IndexingAssignee: Tomas Zezula <tzezula>
Status: RESOLVED DUPLICATE    
Severity: normal CC: exceptions_reporter
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 204947
Attachments: stacktrace

Description cpc4 2013-10-31 03:20:01 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: OpenJDK 64-Bit Server VM, 24.45-b08, OpenJDK Runtime Environment, 1.7.0_45-mockbuild_2013_10_16_17_47-b00
OS: Linux

User Comments:
cpc4: hard crash 50% of the time after startup while performing background scanning of large project; somtimes it also crashes in a similar manner (out of memory hard lock) when starting the HTML validator




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at nu.validator.htmlparser.sax.SAXTreeBuilder.appendCharacters(SAXTreeBuilder.java:65)
   at nu.validator.htmlparser.sax.SAXTreeBuilder.appendCharacters(SAXTreeBuilder.java:39)
   at nu.validator.htmlparser.impl.TreeBuilder.accumulateCharacters(TreeBuilder.java:5095)
   at nu.validator.htmlparser.impl.TreeBuilder.characters(TreeBuilder.java:866)
   at nu.validator.htmlparser.impl.ErrorReportingTokenizer.flushChars(ErrorReportingTokenizer.java:242)
   at nu.validator.htmlparser.impl.Tokenizer.stateLoop(Tokenizer.java:1447)
Comment 1 cpc4 2013-10-31 03:20:03 UTC
Created attachment 141727 [details]
stacktrace
Comment 2 Marek Fukala 2014-02-17 13:41:17 UTC
http://statistics.netbeans.org/exceptions/exception.do?id=698277

450M in byte arrays held by 30k of instances of o.apache.lucene.store.RAMInputStream (indexing internalls) 

Nothing to do w/ html validation.
Comment 3 Marek Fukala 2014-02-17 13:42:58 UTC
*** Bug 239349 has been marked as a duplicate of this bug. ***
Comment 4 Tomas Zezula 2014-02-25 08:53:14 UTC

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