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.
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)
Created attachment 147911 [details] stacktrace
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.
(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.