java.lang.OutOfMemoryError: GC overhead limit exceeded

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After clean install, I confirm license agreement, but I'm unable to start VisualVM. This is the log from: C:\Users\mcavka\AppData\Roaming\VisualVM\1.3.7\var\log\messages.log ------------------------------------------------------------------------------- >Log Session: Monday, June 9, 2014 2:09:00 PM CEST >System Info: Product Version = VisualVM 1.3.7 Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_60; Java HotSpot(TM) 64-Bit Server VM 24.60-b09; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.7.0_60-b19 Java Home = C:\local\java\jdk1.7.0_60\jre System Locale; Encoding = en_US (visualvm); Cp1250 Home Directory = C:\Users\mcavka Current Directory = C:\local\visualvm_137\bin User Directory = C:\Users\mcavka\AppData\Roaming\VisualVM\1.3.7 Cache Directory = C:\Users\mcavka\AppData\Local\VisualVM\Cache\1.3.7 Installation = C:\local\visualvm_137\visualvm C:\local\visualvm_137\profiler C:\local\visualvm_137\platform Boot & Ext. Classpath = C:\local\java\jdk1.7.0_60\jre\lib\resources.jar;C:\local\java\jdk1.7.0_60\jre\lib\rt.jar;C:\local\java\jdk1.7.0_60\jre\lib\sunrsasign.jar;C:\local\java\jdk1.7.0_60\jre\lib\jsse.jar;C:\local\java\jdk1.7.0_60\jre\lib\jce.jar;C:\local\java\jdk1.7.0_60\jre\lib\charsets.jar;C:\local\java\jdk1.7.0_60\jre\lib\jfr.jar;C:\local\java\jdk1.7.0_60\jre\classes;C:\local\java\jdk1.7.0_60\jre\lib\ext\access-bridge-64.jar;C:\local\java\jdk1.7.0_60\jre\lib\ext\dnsns.jar;C:\local\java\jdk1.7.0_60\jre\lib\ext\jaccess.jar;C:\local\java\jdk1.7.0_60\jre\lib\ext\localedata.jar;C:\local\java\jdk1.7.0_60\jre\lib\ext\sunec.jar;C:\local\java\jdk1.7.0_60\jre\lib\ext\sunjce_provider.jar;C:\local\java\jdk1.7.0_60\jre\lib\ext\sunmscapi.jar;C:\local\java\jdk1.7.0_60\jre\lib\ext\zipfs.jar Application Classpath = C:\local\visualvm_137\platform\lib\boot.jar;C:\local\visualvm_137\platform\lib\org-openide-modules.jar;C:\local\visualvm_137\platform\lib\org-openide-util-lookup.jar;C:\local\visualvm_137\platform\lib\org-openide-util.jar;C:\local\java\jdk1.7.0_60\lib\dt.jar;C:\local\java\jdk1.7.0_60\lib\tools.jar Startup Classpath = C:\local\visualvm_137\platform\core\core.jar;C:\local\visualvm_137\platform\core\org-openide-filesystems.jar;C:\local\visualvm_137\visualvm\core\com-sun-tools-visualvm-modules-startup.jar;C:\local\visualvm_137\visualvm\core\locale\core_visualvm.jar ------------------------------------------------------------------------------- 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)
    via by cavka,
  • Currently, if the deletion/creation fails (ie. trying to delete/create /tmp/DiffTextCache) two behaviors are observed: *1. FeCru can't restart and the following is logged:* {code} 2012-09-21 00:17:54,280 INFO - Server started on :8060 (http) (control port on 127.0.0.1:8059) ERROR: problem running command java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:98) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:41) Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.Arrays.copyOf(Unknown Source) at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source) at java.lang.AbstractStringBuilder.append(Unknown Source) at java.lang.StringBuilder.append(Unknown Source) at java.io.UnixFileSystem.resolve(Unknown Source) at java.io.File.<init>(Unknown Source) at java.io.File.listFiles(Unknown Source) at com.cenqua.fisheye.io.IOHelper.recursiveDeleteImpl(IOHelper.java:172) at com.cenqua.fisheye.io.IOHelper.recursiveDelete(IOHelper.java:157) at com.cenqua.fisheye.rep.DiffTextCache.<init>(DiffTextCache.java:71) at com.cenqua.fisheye.rep.BaseRepositoryScanner.start(BaseRepositoryScanner.java:499) at com.cenqua.fisheye.svn.SvnRepositoryScanner.start(SvnRepositoryScanner.java:93) at com.cenqua.fisheye.svn.SvnRepositoryScanner.start(SvnRepositoryScanner.java:61) at com.cenqua.fisheye.rep.BaseRepositoryEngine.doStart(BaseRepositoryEngine.java:70) at com.cenqua.fisheye.rep.RepositoryEngine.start(RepositoryEngine.java:198) at com.cenqua.fisheye.rep.RepositoryHandle.run(RepositoryHandle.java:318) at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepository(DefaultRepositoryManager.java:299) at com.cenqua.fisheye.config.DefaultRepositoryManager.runRepositories(DefaultRepositoryManager.java:330) at com.cenqua.fisheye.config.RootConfig.startRepositories(RootConfig.java:454) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:251) at com.cenqua.fisheye.ctl.Run.main(Run.java:76) ... 6 more {code} *2. FeCru become unresponsive during usage:* Thread dump: {code} [17] WrapperStartStopAppMain: RUNNABLE java.io.WinNTFileSystem.list(Native Method) java.io.File.list(Unknown Source) java.io.File.listFiles(Unknown Source) com.cenqua.fisheye.io.IOHelper.recursiveDeleteImpl(IOHelper.java:172) com.cenqua.fisheye.io.IOHelper.recursiveDelete(IOHelper.java:157) com.cenqua.fisheye.rep.DiffTextCache.<init>(DiffTextCache.java:66) com.cenqua.fisheye.rep.BaseRepositoryScanner.start(BaseRepositoryScanner.java:537) com.cenqua.fisheye.svn.SvnRepositoryScanner.start(SvnRepositoryScanner.java:94) com.cenqua.fisheye.svn.SvnRepositoryScanner.start(SvnRepositoryScanner.java:61) com.cenqua.fisheye.rep.BaseRepositoryEngine.doStart(BaseRepositoryEngine.java:66) com.cenqua.fisheye.rep.RepositoryEngine.start(RepositoryEngine.java:203) com.cenqua.fisheye.rep.RepositoryHandle.run(RepositoryHandle.java:311) com.cenqua.fisheye.config.DefaultRepositoryManager.runRepository(DefaultRepositoryManager.java:259) com.cenqua.fisheye.config.DefaultRepositoryManager.runRepositories(DefaultRepositoryManager.java:287) com.cenqua.fisheye.config.RootConfig.startRepositories(RootConfig.java:497) com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:250) com.cenqua.fisheye.ctl.Run.main(Run.java:71) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114) com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:159) java.lang.Thread.run(Unknown Source) {code} In both cases, the size of /tmp/DiffTextCache was *very* big, making us think that at some point FeCru failed to remove/re-new its content and it started accumulating old files.
    via by Renan Battaglin,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    David
    David1 times, last one,
    Handemelindo
    Handemelindo1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    50 more bugmates