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 244774

Summary: OOM from html.validation.ValidationTransaction.initialize()
Product: web Reporter: vishnutasok
Component: HTML EditorAssignee: Milutin Kristofic <mkristofic>
Status: REOPENED ---    
Severity: normal CC: darrenoh
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205512
Attachments: stacktrace
stacktrace

Description vishnutasok 2014-05-29 01:42:55 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Linux

User Comments:
GUEST: l

GUEST: freezing, running out of memory

vishnutasok: get very slow when open php in netbeans

GUEST: it happened after importing a maven project, on a 1Gb only memory small laptop




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at nu.validator.htmlparser.rewindable.RewindableInputStream$Block.<init>(RewindableInputStream.java:50)
   at nu.validator.htmlparser.rewindable.RewindableInputStream.read(RewindableInputStream.java:214)
   at nu.validator.htmlparser.io.HtmlInputStreamReader.read(HtmlInputStreamReader.java:226)
   at nu.validator.htmlparser.io.Driver.runStates(Driver.java:304)
   at nu.validator.htmlparser.io.Driver.tokenize(Driver.java:216)
   at nu.validator.htmlparser.sax.HtmlParser.tokenize(HtmlParser.java:480)
Comment 1 vishnutasok 2014-05-29 01:42:56 UTC
Created attachment 147490 [details]
stacktrace
Comment 2 Marek Fukala 2014-07-23 08:50:24 UTC
The html.validation.ValidationTransaction.initialize() seems to be the culprit here.
Comment 3 Marek Fukala 2014-07-23 09:54:23 UTC
searching for changes
summary:     #236137 - html selectors completion in the rule body
Comment 4 darrenoh 2015-04-13 14:10:06 UTC
Created attachment 153162 [details]
stacktrace

Attempting to connect to Xdebug when Xdebug was not configured to enable remote connections.