java.lang.OutOfMemoryError: GC overhead limit exceeded


Solutions on the web

Solution icon of java
via Java.net JIRA by cavka, 1 year ago
GC overhead limit exceeded

Solution icon of web
GC overhead limit exceeded

Solution icon of github
GC overhead limit exceeded

Solution icon of github
GC overhead limit exceeded

Solution icon of github
GC overhead limit exceeded

Solution icon of apache
via hive-user by Anandha L Ranganathan, 1 year ago
GC overhead limit exceeded

Solution icon of oraclecommunity
via Oracle Community by 967968, 1 year ago
GC overhead limit exceeded

Solution icon of sourceforge
GC overhead limit exceeded

Solution icon of stackoverflow
GC overhead limit exceeded

Solution icon of stackoverflow
GC overhead limit exceeded

Stack trace

java.lang.OutOfMemoryError: GC overhead limit exceeded
	at java.util.Arrays.copyOf(Arrays.java:2367)
	at java.lang.String.<init>(String.java:168)
	at java.io.Win32FileSystem.resolve(Win32FileSystem.java:259)
	at java.io.File.<init>(File.java:262)
	at java.io.File.listFiles(File.java:1206)
	at org.netbeans.lib.profiler.utils.MiscUtils.deleteHeapTempFiles(MiscUtils.java:518)
	at org.netbeans.modules.profiler.ProfilerModule.restored(ProfilerModule.java:134)
	at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:471)
	at org.netbeans.core.startup.NbInstaller.loadImpl(NbInstaller.java:394)
	at org.netbeans.core.startup.NbInstaller.access$000(NbInstaller.java:105)
	at org.netbeans.core.startup.NbInstaller$1.run(NbInstaller.java:346)
	at org.openide.filesystems.FileUtil$2.run(FileUtil.java:435)
	at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127)
	at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:609)
	at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:419)
	at org.openide.filesystems.FileUtil.runAtomicAction(FileUtil.java:439)
	at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:343)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1194)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1017)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
	at org.netbeans.core.startup.Main.start(Main.java:307)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:745)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
8 times, 2 days ago
2 times, 1 week ago
Once, 1 month ago
Once, 1 month ago
53 more bugmates