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 252438 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED DUPLICATE of bug 253331
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-17 02:36 UTC by mrpc
Modified: 2016-06-22 07:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217346


Attachments
stacktrace (2.47 KB, text/plain)
2015-05-17 02:36 UTC, mrpc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mrpc 2015-05-17 02:36:11 UTC
Build: NetBeans IDE Dev (Build 201505120001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Windows 8.1

User Comments:
mrpc: I don't know what happened. I did some git operations (pulling, tagging, merging etc) on two relatively large php projects, and my pc started slowing down. I think it happened during the scanning for changes. 
At some point the only thing I could do was to just close netbeans.
However, performance toolbar was showing me that there wasn't that much memory used (arround 500 MB).  I opened windows task manager and at this point java was eating around 80% of my cpu.
I wish I could provide some more useful information.




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.Hashtable.<init>(Hashtable.java:190)
   at java.util.Hashtable.<init>(Hashtable.java:211)
   at java.awt.datatransfer.MimeTypeParameterList.<init>(MimeTypeParameterList.java:53)
   at java.awt.datatransfer.MimeType.parse(MimeType.java:174)
   at java.awt.datatransfer.MimeType.<init>(MimeType.java:67)
   at java.awt.datatransfer.DataFlavor.initialize(DataFlavor.java:526)
Comment 1 mrpc 2015-05-17 02:36:13 UTC
Created attachment 153708 [details]
stacktrace
Comment 2 Tomas Hurka 2015-05-29 12:14:30 UTC
There is a lot of PHP related classes on the top of the heap histogram. There is also more than 100 php files opened. RepositoryUpdater thread is also scanning large (1.3M) html file. Reassigning to PHP for further evaluation.
Comment 3 Tomas Mysik 2015-07-01 09:33:48 UTC
Reassigning to PHP editor, please evaluate. Thanks.
Comment 4 Tomas Mysik 2016-06-22 07:28:12 UTC
Please update you desktop icon (and Start menu item) for NetBeans to point to
the netbeans64.exe and not netbeans.exe, this should help.

Thanks.

*** This bug has been marked as a duplicate of bug 253331 ***