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 GitHub by ragnard-king
, 1 year ago
via Stack Overflow by YdB
, 11 months ago
via Google Groups by Janarthanam Ramalingam, 2 years ago
via Google Groups by jenki...@carlossanchez.eu (JIRA), 2 months ago
via Google Groups by ctesniere via StackOverflow, 8 months ago
via Stack Overflow by Steffi S.
, 2 years ago
java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3236)[na:1.8.0_45] at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118)[na:1.8.0_45] at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)[na:1.8.0_45] at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153)[na:1.8.0_45] at editor.resource$read_zip_entry.invokeStatic(resource.clj:136)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at editor.resource$load_zip.invokeStatic(resource.clj:150)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at editor.resource$make_zip_tree.invokeStatic(resource.clj:159)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at editor.resource_watch$make_library_zip_tree.invokeStatic(resource_watch.clj:27)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at editor.resource_watch$make_library_snapshot.invokeStatic(resource_watch.clj:38)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at editor.resource_watch$make_library_snapshot.invoke(resource_watch.clj:35)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.core$partial$fn__4759.invoke(core.clj:2515)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.core$map$fn__4785.invoke(core.clj:2646)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.lang.LazySeq.sval(LazySeq.java:40)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.lang.LazySeq.seq(LazySeq.java:49)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.lang.Cons.next(Cons.java:39)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.lang.RT.next(RT.java:688)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.core$next__4341.invokeStatic(core.clj:64)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.core.protocols$fn__6755.invokeStatic(protocols.clj:168)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.core.protocols$fn__6755.invoke(protocols.clj:124)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.core.protocols$fn__6710$G__6705__6719.invoke(protocols.clj:19)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.core.protocols$seq_reduce.invokeStatic(protocols.clj:31)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.core.protocols$fn__6736.invokeStatic(protocols.clj:75)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.core.protocols$fn__6736.invoke(protocols.clj:75)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.core.protocols$fn__6684$G__6679__6697.invoke(protocols.clj:13)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.core$reduce.invokeStatic(core.clj:6545)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at editor.resource_watch$combine_snapshots.invokeStatic(resource_watch.clj:84)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at editor.resource_watch$make_snapshot.invokeStatic(resource_watch.clj:95)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at editor.workspace$resource_sync_BANG_.invokeStatic(workspace.clj:211)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at editor.defold_project$open_project_BANG_.invokeStatic(defold_project.clj:745)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at editor.boot_open_project$open_project.invokeStatic(boot_open_project.clj:240)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at editor.boot_open_project$open_project.invoke(boot_open_project.clj:238)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na] at clojure.lang.AFn.applyToHelper(AFn.java:160)[defold-5d66e7558c01d26cf5ff6250014ac2173acaf0b9.jar:na]