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 245258 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED DUPLICATE of bug 239360
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-06-26 11:57 UTC by ShivarajRH
Modified: 2014-07-07 11:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 206895


Attachments
stacktrace (1.06 KB, text/plain)
2014-06-26 11:57 UTC, ShivarajRH
Details
stacktrace (1.06 KB, text/plain)
2014-07-03 09:43 UTC, reinouts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ShivarajRH 2014-06-26 11:57:24 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
GUEST: during netbeans close

GUEST: Had about 20 files open. most of them java, 2 or 3 of them xml.  one xml file is big - just over 1MB.  i selected it and hit SVN Diff.  it showed me the difference.  I hit svn update.  It froze for several minutes.  I checked the JVM memory - perm, old, and eden were completely full. there was a lot of GC activity.  Number of OLD Gen total collections (in a space of 5 to 10 minutes) shot up from 130 to 230 total collections.

I eventaully clicked the X button to close netbeans.  
I only have a few standard java files open.  It shouldnt eat up 1.5GB of the allocated JVM memory and not be able to garbage collect.  It looks like its buiding up too much memory usage while editing/diffing the 1Mb xml file

ShivarajRH: When editor idol. Memory usage is too high. And exceed the memory limit.

GUEST: ????????????

GUEST: Editor's becomes slow during normal code edit, and eventually crashed.




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1528)
   at java.lang.Class.checkPackageAccess(Class.java:2265)
   at java.lang.Class.getDeclaringClass(Class.java:1104)
   at com.sun.jna.Structure.setTypeMapper(Structure.java:217)
   at com.sun.jna.Structure.<init>(Structure.java:186)
   at com.sun.jna.Structure.<init>(Structure.java:181)
Comment 1 ShivarajRH 2014-06-26 11:57:26 UTC
Created attachment 147787 [details]
stacktrace
Comment 2 reinouts 2014-07-03 09:43:08 UTC
Created attachment 147858 [details]
stacktrace

Background scanning of projects
Comment 3 Jaroslav Havlin 2014-07-07 11:10:39 UTC
> Background scanning of projects
Reported as separate bug 245442.

Other reports from 8.0:
Many instances of classes DefaultToken and HighlightItem, marking as duplicate of bug 239360.

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