java.lang.OutOfMemoryError

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.

  • OOM when opening project
    via GitHub by ragnard-king
    ,
  • Android Studio Upgrade Issue 2.2.3
    via Stack Overflow by Spindoctor
    ,
  • 1.chooce some big file (1gb) 2.upload it 3.while it uploading go to multi and than back to single {noformat} ??????????????? 02, 2015 2:00:18 PM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException SEVERE: The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3236) at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118) at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93) at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153) at com.sun.jersey.core.util.ReaderWriter.writeTo(ReaderWriter.java:115) at com.sun.jersey.core.provider.AbstractMessageReaderWriterProvider.writeTo(AbstractMessageReaderWriterProvider.java:76) at com.sun.jersey.core.impl.provider.entity.ByteArrayProvider.readFrom(ByteArrayProvider.java:79) at com.sun.jersey.core.impl.provider.entity.ByteArrayProvider.readFrom(ByteArrayProvider.java:59) at com.sun.jersey.multipart.BodyPart.getEntityAs(BodyPart.java:310) at com.sun.jersey.multipart.FormDataBodyPart.getValueAs(FormDataBodyPart.java:329) at org.artifactory.ui.utils.MultiPartUtils.lambda$2(MultiPartUtils.java:49) at org.artifactory.ui.utils.MultiPartUtils$$Lambda$86/829070177.accept(Unknown Source) at java.util.ArrayList.forEach(ArrayList.java:1249) at org.artifactory.ui.utils.MultiPartUtils.lambda$0(MultiPartUtils.java:47) at org.artifactory.ui.utils.MultiPartUtils$$Lambda$85/67103743.accept(Unknown Source) at java.util.HashMap.forEach(HashMap.java:1280) at org.artifactory.ui.utils.MultiPartUtils.saveFileDataToTemp(MultiPartUtils.java:45) at org.artifactory.ui.rest.service.artifacts.deploy.ArtifactUploadService.execute(ArtifactUploadService.java:43) at org.artifactory.ui.rest.service.ServiceExecutor.process(ServiceExecutor.java:21) at org.artifactory.ui.rest.resource.BaseResource.runService(BaseResource.java:76) at org.artifactory.ui.rest.resource.artifacts.deploy.DeployArtifactResource.uploadArtifact(DeployArtifactResource.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205 ) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) {noformat}
    via by Anastasiya Muntyan,
  • GitHub comment 40#211790910
    via GitHub by wangying0128
    ,
  • JSF Out Of Memory
    via Stack Overflow by Gavi
    ,
  • 1.chooce some big file (1gb) 2.upload it 3.while it uploading go to multi and than back to single {noformat} ╫נ╫ץ╫ע 02, 2015 2:00:18 PM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException SEVERE: The exception contained within MappableContainerException could not be mapped to a response, re-throwing to the HTTP container java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3236) at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118) at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93) at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153) at com.sun.jersey.core.util.ReaderWriter.writeTo(ReaderWriter.java:115) at com.sun.jersey.core.provider.AbstractMessageReaderWriterProvider.writeTo(AbstractMessageReaderWriterProvider.java:76) at com.sun.jersey.core.impl.provider.entity.ByteArrayProvider.readFrom(ByteArrayProvider.java:79) at com.sun.jersey.core.impl.provider.entity.ByteArrayProvider.readFrom(ByteArrayProvider.java:59) at com.sun.jersey.multipart.BodyPart.getEntityAs(BodyPart.java:310) at com.sun.jersey.multipart.FormDataBodyPart.getValueAs(FormDataBodyPart.java:329) at org.artifactory.ui.utils.MultiPartUtils.lambda$2(MultiPartUtils.java:49) at org.artifactory.ui.utils.MultiPartUtils$$Lambda$86/829070177.accept(Unknown Source) at java.util.ArrayList.forEach(ArrayList.java:1249) at org.artifactory.ui.utils.MultiPartUtils.lambda$0(MultiPartUtils.java:47) at org.artifactory.ui.utils.MultiPartUtils$$Lambda$85/67103743.accept(Unknown Source) at java.util.HashMap.forEach(HashMap.java:1280) at org.artifactory.ui.utils.MultiPartUtils.saveFileDataToTemp(MultiPartUtils.java:45) at org.artifactory.ui.rest.service.artifacts.deploy.ArtifactUploadService.execute(ArtifactUploadService.java:43) at org.artifactory.ui.rest.service.ServiceExecutor.process(ServiceExecutor.java:21) at org.artifactory.ui.rest.resource.BaseResource.runService(BaseResource.java:76) at org.artifactory.ui.rest.resource.artifacts.deploy.DeployArtifactResource.uploadArtifact(DeployArtifactResource.java:40) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205 ) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) {noformat}
    via by Anastasiya Muntyan,
  • OutOfMemoryError during test execution
    via Stack Overflow by skoczo
    ,
    • 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]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    51 more bugmates