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 256769 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
Depends on:
Reported: 2015-11-24 22:30 UTC by Exceptions Reporter
Modified: 2017-02-06 14:36 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 221337

stacktrace (1.13 KB, text/plain)
2015-11-24 22:30 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-11-24 22:30:28 UTC
This bug was originally marked as duplicate of bug 239360, 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.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
GUEST: pasted in a 13mb xml file

GUEST: Inspect with all analyzers with a huge project

GUEST: Scrolling.

GUEST: Using NetBeans upload-on-save functionality.

linde37: Just start tyhe software

GUEST: ....?

GUEST: Had large file (7MB) open in IDE

GUEST: a maquina hibernou e ao voltar o netbeans virou uma tela preta.

GUEST: Using Netbeans 8.0.2 happens mostly while debugging php but not exclusively.  Simple code editing can trigger it off. 
Java updated regularly. System has 8 Gb RAM and Intel Core i5-3470 CPU running Windows 7 64-bit

GUEST: Netbeans keeps hanging


GUEST: After opening a project, NetBeans commenced background scanning of the project.  It consumed all available CPU before running out of memory.

GUEST: Very slow. Had to restart. Was trying to navigate through the file explorer. Only had 3 php files open at the time.

GUEST: debugger?

GUEST: nothing

victork: File contents has been changed externally - During self-refresh IDE got stalled and crashed with "Out of memory" error after approximately 10 minutes.

GUEST: I don't remember

GUEST: I didn't even noticed that it happend...

GUEST: Trying to close netbeans caused hangup

GUEST: minimize and restore netbeans window

GUEST: commit...

GUEST: <Please provide a description of the problem or the steps to reproduce>

brezuicabogdan: After updating the JS scripts library it downloaded an almos 4 Giga file from and it didnt update the list of js files. It just said loading. And then the same LOADING problem occured on new file creation.

java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.lang.SecurityManager.checkPackageAccess(
   at java.lang.Class.checkPackageAccess(
   at java.lang.Class.checkMemberAccess(
   at java.lang.Class.getDeclaredFields(
   at com.sun.jna.Structure.getFieldList(
   at com.sun.jna.Structure.getFields(
Comment 1 Exceptions Reporter 2015-11-24 22:30:49 UTC
Created attachment 157485 [details]