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 252747 - OutOfMemoryError: Many weak file change listeners registered to FolderObj instances
Summary: OutOfMemoryError: Many weak file change listeners registered to FolderObj ins...
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-02 12:14 UTC by Exceptions Reporter
Modified: 2015-08-05 09:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217690


Attachments
stacktrace (3.29 KB, text/plain)
2015-06-02 12:14 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-06-02 12:14:29 UTC
This bug was originally marked as duplicate of bug 244697, 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.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b14
OS: Mac OS X

User Comments:
GUEST: svn change copy




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.<init>(UTF8Reader.java:122)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.createReader(XMLEntityManager.java:2363)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:693)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEntity(XMLEntityManager.java:1300)
   at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDEntity(XMLEntityManager.java:1267)
   at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInputSource(XMLDTDScannerImpl.java:263)
Comment 1 Exceptions Reporter 2015-06-02 12:14:31 UTC
Created attachment 154014 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-08-05 09:23:24 UTC
The heap dump contains several FolderObj instances with many (about 160 000) weak file change listeners. Most (probably) of the listeners have empty referent already.

> svn change copy
Reporter, can you please provide exact steps to reproduce? Is the subversion repository publicly available (is the project open source)?
Thank you.