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 244465

Summary: OutOfMemoryError: GC overhead limit exceeded
Product: platform Reporter: Ale_UK
Component: Options&SettingsAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 209689
Attachments: stacktrace
The biggest objects by retained size

Description Ale_UK 2014-05-13 12:37:08 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: OpenJDK 64-Bit Server VM, 24.51-b03, OpenJDK Runtime Environment, 1.7.0_55-b14
OS: Linux

User Comments:
Ale_UK: just crashed, could close it or use it, so i had to log out the system and log in again




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.lang.String.substring(String.java:1877)
   at java.io.File.getName(File.java:456)
   at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:243)
   at java.io.File.exists(File.java:813)
   at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.loadIndexingContext2(NexusRepositoryIndexerImpl.java:365)
   at org.netbeans.modules.maven.indexer.NexusRepositoryIndexerImpl.access$700(NexusRepositoryIndexerImpl.java:119)
Comment 1 Ale_UK 2014-05-13 12:37:10 UTC
Created attachment 147245 [details]
stacktrace
Comment 2 Martin Kozeny 2014-07-30 13:39:45 UTC
Created attachment 148416 [details]
The biggest objects by retained size
Comment 3 Martin Kozeny 2014-07-30 13:40:19 UTC
The biggest object (by retained size) is an instance of
org.netbeans.core.startup.preferences.NbPreferences$UserPreferences#107. Reassigning to platform.
Comment 4 Theofanis Oikonomou 2015-09-11 13:11:12 UTC
This should be fixed by http://hg.netbeans.org/main-silver/rev/6ad45f1e33cb. Please try a latest build and reopen if it still happens for you. Thank you