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 258336 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED WONTFIX
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-12 12:32 UTC by chechuco
Modified: 2016-05-17 07:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 222976


Attachments
stacktrace (2.48 KB, text/plain)
2016-03-12 12:32 UTC, chechuco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description chechuco 2016-03-12 12:32:41 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Mac OS X

User Comments:
chechuco: I was just debugging a php file with external browser. In general, bad performance when debugging since system upgrade to OSX El Capitan.




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at sun.java2d.SunGraphicsEnvironment.createGraphics(SunGraphicsEnvironment.java:186)
   at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1183)
   at java.awt.image.BufferedImage.getGraphics(BufferedImage.java:1171)
   at org.netbeans.swing.tabcontrol.plaf.BasicScrollingTabDisplayerUI.getOffscreenGraphics(BasicScrollingTabDisplayerUI.java:423)
   at org.netbeans.swing.tabcontrol.plaf.NonStretchingViewTabLayoutModel.getXCoords(NonStretchingViewTabLayoutModel.java:194)
   at org.netbeans.swing.tabcontrol.plaf.NonStretchingViewTabLayoutModel.getW(NonStretchingViewTabLayoutModel.java:92)
Comment 1 chechuco 2016-03-12 12:32:42 UTC
Created attachment 158835 [details]
stacktrace
Comment 2 Martin Entlicher 2016-05-17 07:06:01 UTC
org.netbeans.libs.git.jgit.commands.StatusCommand have retain size of 805 MB.
It has a "statuses" LinkedHashMap of that size.
Comment 3 Ondrej Vrabec 2016-05-17 07:37:59 UTC
As the IDE log states:
> WARNING [org.netbeans.modules.git]: Home folder /Users/NEO001 lies under a git versioned root /Users/NEO001. Expecting lots of performance issues.
your setup cannot work. Please remove /Users/NEO001/.git (or /.git, /Users/.git).