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 - 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:
: 239349 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-31 03:20 UTC by cpc4
Modified: 2014-02-25 08:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204947


Attachments
stacktrace (2.95 KB, text/plain)
2013-10-31 03:20 UTC, cpc4
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***