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 242998 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED FIXED
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: 2014-03-18 08:43 UTC by estephanz
Modified: 2014-05-31 03:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 208467


Attachments
stacktrace (860 bytes, text/plain)
2014-03-18 08:43 UTC, estephanz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description estephanz 2014-03-18 08:43:44 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-1215-on-20140120)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Linux

User Comments:
estephanz: Nothing was back at work!




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.lang.Long.toString(Long.java:267)
   at org.netbeans.modules.versioning.ui.diff.DiffSidebar.getTempFolder(DiffSidebar.java:1271)
   at org.netbeans.modules.versioning.ui.diff.DiffSidebar.getText(DiffSidebar.java:1006)
   at org.netbeans.modules.versioning.ui.diff.DiffSidebar.access$1700(DiffSidebar.java:121)
   at org.netbeans.modules.versioning.ui.diff.DiffSidebar$RefreshDiffTask.fetchOriginalContent(DiffSidebar.java:979)
   at org.netbeans.modules.versioning.ui.diff.DiffSidebar$RefreshDiffTask.computeDiff(DiffSidebar.java:948)
Comment 1 estephanz 2014-03-18 08:43:46 UTC
Created attachment 146094 [details]
stacktrace
Comment 2 Ondrej Vrabec 2014-03-18 09:08:57 UTC
around 10 million items kept in org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.hints
Comment 3 Jaroslav Havlin 2014-05-30 14:00:10 UTC
http://hg.netbeans.org/core-main/rev/8683ec70cc48
Fixed.
Thank you for reporting and evaluation.
Comment 4 Quality Engineering 2014-05-31 03:43:35 UTC
Integrated into 'main-silver', will be available in build *201405310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8683ec70cc48
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #242998: Limit number of items in FileChangedManager.hints