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 218401 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-14 23:32 UTC by EdCD
Modified: 2012-09-19 13:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 192451


Attachments
stacktrace (2.93 KB, text/plain)
2012-09-14 23:32 UTC, EdCD
Details

Note You need to log in before you can comment on or make changes to this bug.
Description EdCD 2012-09-14 23:32:54 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) Client VM, 20.6-b01, Java(TM) SE Runtime Environment, 1.6.0_31-b05
OS: Windows 7

User Comments:
EdCD: Tried to cancel the scanning of projects since it said that the scan was 100% complete though it never exited.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at nu.validator.htmlparser.impl.TreeBuilder.appendToCurrentNodeAndPushElementMayFoster(TreeBuilder.java:4907)
   at nu.validator.htmlparser.impl.TreeBuilder.startTag(TreeBuilder.java:1849)
   at nu.validator.htmlparser.impl.Tokenizer.emitCurrentTagToken(Tokenizer.java:1136)
   at nu.validator.htmlparser.impl.Tokenizer.stateLoop(Tokenizer.java:1630)
   at nu.validator.htmlparser.impl.Tokenizer.tokenizeBuffer(Tokenizer.java:1331)
   at nu.validator.htmlparser.io.Driver.runStates(Driver.java:316)
Comment 1 EdCD 2012-09-14 23:32:57 UTC
Created attachment 124395 [details]
stacktrace
Comment 2 Marek Fukala 2012-09-19 13:47:10 UTC
the problem should be fixed by:

changeset:   233448:d2c9025d0e8f
summary:     #218534 - performance optimalization - HtmlFileModel doesn't
trigger the html file parsing, it uses cached plain elements iterator instead.