Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    via oracle.com by Unknown author

    An easy way to solve OutOfMemoryError in java is to increase the maximum heap size by using JVM options -Xmx512M, this will immediately solve your OutOfMemoryError.

  2. ,
    via Stack Overflow by Eugene Yokota

    In Eclipse : go to Run --> Run Configurations --> then select the project under maven build --> then select the tab "JRE" --> then enter -Xmx1024m.

    This should increase the memory heap for all the builds/projects. The above memory size is 1 GB.

Solutions on the web

via Coderanch by Migrated From Jforum.net, 1 year ago
This exception has no message.
via Coderanch by Manoj Maniraj, 1 year ago
This exception has no message.
via Eclipse Bugzilla by siddharthgarg1984, 2 years ago
via Eclipse Bugzilla by cap, 2 years ago
This exception has no message.
via Eclipse Bugzilla by kathy, 2 years ago
via https://bugzilla.redhat.com/bugzilla/ by Filip Elias, 2 years ago
java.lang.OutOfMemoryError: Java heap space	at java.util.Arrays.copyOf(Arrays.java:2882)	at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)	at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:572)	at java.lang.StringBuilder.append(StringBuilder.java:203)	at java.io.UnixFileSystem.resolve(UnixFileSystem.java:93)	at java.io.File.(File.java:207)	at java.io.File.listFiles(File.java:1056)	at com.cenqua.fisheye.io.IOHelper.recursiveDeleteImpl(IOHelper.java:158)	at com.cenqua.fisheye.io.IOHelper.recursiveDelete(IOHelper.java:143)	at com.cenqua.fisheye.rep.DiffTextCache.(DiffTextCache.java:51)	at com.cenqua.fisheye.rep.RepositoryScanner.(RepositoryScanner.java:66)	at com.cenqua.fisheye.perforce.P4Scanner.(P4Scanner.java:48)	at com.cenqua.fisheye.perforce.P4RepositoryEngine.(P4RepositoryEngine.java:36)	at com.cenqua.fisheye.perforce.P4RepositoryConfig.createRepositoryEngine(P4RepositoryConfig.java:140)	at com.cenqua.fisheye.rep.RepositoryHandle.run(RepositoryHandle.java:265)	at com.cenqua.fisheye.config.RepositoryManager.runRepository(RepositoryManager.java:222)	at com.cenqua.fisheye.config.RootConfig.startRepositories(RootConfig.java:349)	at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:261)	at com.cenqua.fisheye.ctl.Run.main(Run.java:44)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:105)	at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:38)