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 243373 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 244697
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: issues@web
URL:
Keywords:
: 243710 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-29 21:16 UTC by CougarB
Modified: 2014-07-22 12:38 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 162519


Attachments
stacktrace (3.08 KB, text/plain)
2014-03-29 21:16 UTC, CougarB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CougarB 2014-03-29 21:16:17 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 8

User Comments:
CougarB: Ordinary work. Walked away from Netbeans for a little while. It was frozen when I returned.

daniel_j_larsson: Impatiently waiting on Netbeans to stop consuming 100% CPU, which it has been for the last 10 minutes...




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.<init>(UTF8Reader.java:0)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.createReader(XMLEntityManager.java:0)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:0)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:0)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:0)
   at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:0)
Comment 1 CougarB 2014-03-29 21:16:19 UTC
Created attachment 146404 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-04-11 10:50:53 UTC
> CougarB: Ordinary work. Walked away from Netbeans for a little while. It was
> frozen when I returned.
The heap dump contains 2.2 million instances of CssNodeElement stored in a TreeSet, which is the biggest instance.
Could it be a duplicate of bug 237014? Number of javascript-related instances seems to be normal.
Petr, can you please check it?

> daniel_j_larsson: Impatiently waiting on Netbeans to stop consuming 100%
> CPU, which it has been for the last 10 minutes...
The report doesn't contain heap dump, so I cannot analyze the problem, I'm sorry.

Thank you for reporting.

*** This bug has been marked as a duplicate of bug 237014 ***
Comment 3 Jaroslav Havlin 2014-04-11 10:54:31 UTC
I'm sorry, I'm not sure it's a duplicate. Reopening. Feel free to mark it as duplicate again if appropriate.
Comment 4 Jaroslav Havlin 2014-05-02 15:34:53 UTC
*** Bug 243710 has been marked as a duplicate of this bug. ***
Comment 5 Marek Fukala 2014-07-22 12:38:21 UTC
see https://netbeans.org/bugzilla/show_bug.cgi?id=244697#c4 - problem #2

*** This bug has been marked as a duplicate of bug 244697 ***