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 239284 - OutOfMemoryError: During HTML validation
Summary: OutOfMemoryError: During HTML validation
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-09 19:57 UTC by darrenoh
Modified: 2015-07-30 01:23 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205890


Attachments
stacktrace (2.99 KB, text/plain)
2013-12-09 19:57 UTC, darrenoh
Details
stacktrace (1.85 KB, text/plain)
2014-03-03 14:54 UTC, roberto12345
Details

Note You need to log in before you can comment on or make changes to this bug.
Description darrenoh 2013-12-09 19:57:56 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Mac OS X

User Comments:
darrenoh: Text searching a directory.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at org.netbeans.JarClassLoader$JarSource.resource(JarClassLoader.java:604)
   at org.netbeans.Archive.getData(Archive.java:212)
   at org.netbeans.JarClassLoader$JarSource.doGetResource(JarClassLoader.java:559)
   at org.netbeans.JarClassLoader$Source.getResource(JarClassLoader.java:357)
   at org.netbeans.JarClassLoader.findResource(JarClassLoader.java:292)
   at org.netbeans.ProxyClassLoader.getResourceImpl(ProxyClassLoader.java:358)
Comment 1 darrenoh 2013-12-09 19:57:58 UTC
Created attachment 142982 [details]
stacktrace
Comment 2 Exceptions Reporter 2014-02-14 06:10:29 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=205890
Comment 3 roberto12345 2014-03-03 14:54:36 UTC
Created attachment 145720 [details]
stacktrace

abriendo netbeans x primera vez con plug in de android
Comment 4 Marek Fukala 2014-07-23 05:26:31 UTC
712303 - ~ 8 millions of chained BaseDocument$AtomicActionEdit takes 136MB

715220 - no evident culprit, quite small heap. ZipInputStream and PushbackInputStream occupies ~90MB

712303 - ~500MB held in RAMFile buffers

No HTML related OOM, passing to editor as the report 712303 reveals a possible problem in the editor.
Comment 5 Milutin Kristofic 2015-07-29 13:57:19 UTC
There is only one heapdump. Report 767470
many CssRuleStructureItemHashableByName with from = -1. This should fix the issue. http://hg.netbeans.org/jet-main/rev/6a6e12327593
Comment 6 Quality Engineering 2015-07-30 01:23:39 UTC
Integrated into 'main-silver', will be available in build *201507300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6a6e12327593
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #239284 - OutOfMemoryError: During HTML validation