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

Summary: OutOfMemoryError: GC overhead limit exceeded
Product: versioncontrol Reporter: chechuco
Component: GitAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED WONTFIX    
Severity: normal CC: git
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222976
Attachments: stacktrace

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).