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 245442 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: _ dcaoyuan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-07 09:22 UTC by reinouts
Modified: 2014-07-10 07:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 210573


Attachments
stacktrace (1.06 KB, text/plain)
2014-07-07 09:22 UTC, reinouts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description reinouts 2014-07-07 09:22:34 UTC
This issue was reported manually by jhavlin.
It already has 1 duplicates 


Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Windows 7

User Comments:
reinouts: Background scanning of projects




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1563)
   at java.lang.Class.checkPackageAccess(Class.java:2359)
   at java.lang.Class.getDeclaringClass(Class.java:1225)
   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 reinouts 2014-07-07 09:22:35 UTC
Created attachment 147911 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-07-07 11:00:21 UTC
The heap dump contains 1.7 million instances of scala.collection.mutable.DefaultEntry and 1.6 million instances of scala.reflect.io.FileZipArchive$FileEntry$1.

This seems to be caused by the scala plugin.
Reassigning to owner of nbscala. Dcaoyuan, please evaluate his bug.

Reinouts, can you please provide more info about your Scala projects, e.g. number of source files?

Thank you.
Comment 3 reinouts 2014-07-10 07:53:50 UTC
(In reply to Jaroslav Havlin from comment #2)

> Reinouts, can you please provide more info about your Scala projects, e.g.
> number of source files?

I had multiple projects open at the time, but the largest has about 80 scala source files and 46 java source files.

The projects are built using sbt with the netbeans plugin for sbt.