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 250585 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
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-02-20 16:52 UTC by Exceptions Reporter
Modified: 2015-09-23 15:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 215565


Attachments
stacktrace (2.40 KB, text/plain)
2015-02-20 16:52 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-02-20 16:52:02 UTC
This bug was originally marked as duplicate of bug 244638, 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, 24.71-b01, Java(TM) SE Runtime Environment, 1.7.0_71-b14
OS: Windows 7

User Comments:
GUEST: OutOfMemoryError: GC overhead limit exceeded




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.HashSet.<init>(HashSet.java:142)
   at org.openide.filesystems.MultiFileObject.update(MultiFileObject.java:199)
   at org.openide.filesystems.MultiFileObject.<init>(MultiFileObject.java:136)
   at org.openide.filesystems.MultiFileObject.createFile(MultiFileObject.java:560)
   at org.openide.filesystems.AbstractFolder.getChild(AbstractFolder.java:370)
   at org.openide.filesystems.AbstractFolder.getChild(AbstractFolder.java:341)
Comment 1 Exceptions Reporter 2015-02-20 16:52:03 UTC
Created attachment 152123 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-03-03 11:10:59 UTC
Code in o.n.m.web.beans.navigation.actions.WebBeansActionHelper.hasJsr330() leads to opening a child FileObject in EDT. The file is locked by thread "org.netbeans.modules.java.hints.declarative.DeclarativeHintRegistry" for a long time, probably because the filesystem is busy.

Reassigning to javaee/CDI. Please evaluate. If it's difficult to fix the bug, I think this issue can be closed as WONTFIX, as it is mainly caused by slow filesystem. Thank you.
Comment 3 Jaroslav Havlin 2015-03-03 11:15:47 UTC
> Reassigning to javaee/CDI. Please evaluate.
I'm sorry, wrong bug. Please ignore the comment above. Thank you.
Comment 4 Jaroslav Havlin 2015-03-03 11:58:11 UTC
There are 15 million instances of java.lang.StackTraceElement in the heap dump.
It seems that there is some problem with NetBeans installation, user directory or project directory (missing files in filesystem).
Didn't you try to reinstall NetBeans? Did it help?
Comment 5 Jaroslav Havlin 2015-09-23 15:25:01 UTC
I'm sorry, I cannot investigate the problem without additional information.
Closing as incomplete for now. Please feel free to reopen if you can provide more details. Thank you.