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 252694 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED INCOMPLETE
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-29 23:29 UTC by Exceptions Reporter
Modified: 2015-06-08 13:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217626


Attachments
stacktrace (2.93 KB, text/plain)
2015-05-29 23:29 UTC, Exceptions Reporter
Details
Image (164.70 KB, image/png)
2015-06-08 13:22 UTC, Milutin Kristofic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-05-29 23:29:03 UTC
This bug was originally marked as duplicate of bug 239570, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01
OS: Windows 8

User Comments:
GUEST: I was just browsing files within the project.  I had done a lot search but I closed search windows after getting my result.  I have about 7 search windows.  My overall system memory usage is about 60% of 16GB.  I have about 15 files open.  Task Manager reported that NetBean was using about 170MB, if I remember correctly.

The behavior is that the NetBean slowly become unresponsive and after a while it stopped responding.  At which point, I decided to end the app through Task Manager.




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   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.Tokenizer.emitOrAppendOne(Tokenizer.java:6564)
   at nu.validator.htmlparser.impl.Tokenizer.stateLoop(Tokenizer.java:3244)
Comment 1 Exceptions Reporter 2015-05-29 23:29:06 UTC
Created attachment 153961 [details]
stacktrace
Comment 2 Milutin Kristofic 2015-06-08 13:21:36 UTC
60% of memory is allocated for BufferedImage. Did you somehow created images in Netbeans? It would help to find why images are still in memory. I will attach one of the image to attachments so it can help you identify how it was created. Thank you
Comment 3 Milutin Kristofic 2015-06-08 13:22:10 UTC
Created attachment 154105 [details]
Image