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.

  • -Xmx8g from R: > h2o.hist(as.h2o(iris[,1]), breaks="Doane") gives: 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: java.lang.OutOfMemoryError: Requested array size exceeds VM limit 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.ASTHist.computeCuts(ASTHist.java:128) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.ASTHist.apply(ASTHist.java:52) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.ASTExec.exec(ASTExec.java:46) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.ASTTmpAssign.apply(ASTAssign.java:260) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.ASTTmpAssign.apply(ASTAssign.java:253) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.ASTExec.exec(ASTExec.java:46) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.Session.exec(Session.java:56) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.Exec.exec(Exec.java:63) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.api.RapidsHandler.exec(RapidsHandler.java:25) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at java.lang.reflect.Method.invoke(Method.java:606) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.api.Handler.handle(Handler.java:62) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.api.RequestServer.handle(RequestServer.java:650) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.api.RequestServer.serve(RequestServer.java:591) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:616) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:564) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) Seems like this should work...
    via by Eric Eckstrand,
  • -Xmx8g from R: > h2o.hist(as.h2o(iris[,1]), breaks="Doane") gives: 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: java.lang.OutOfMemoryError: Requested array size exceeds VM limit 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.ASTHist.computeCuts(ASTHist.java:128) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.ASTHist.apply(ASTHist.java:52) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.ASTExec.exec(ASTExec.java:46) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.ASTTmpAssign.apply(ASTAssign.java:260) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.ASTTmpAssign.apply(ASTAssign.java:253) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.ASTExec.exec(ASTExec.java:46) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.Session.exec(Session.java:56) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.rapids.Exec.exec(Exec.java:63) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.api.RapidsHandler.exec(RapidsHandler.java:25) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at java.lang.reflect.Method.invoke(Method.java:606) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.api.Handler.handle(Handler.java:62) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.api.RequestServer.handle(RequestServer.java:650) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.api.RequestServer.serve(RequestServer.java:591) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:616) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:564) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) 02-17 13:31:41.669 172.16.2.40:54321 30500 #71663-15 ERRR: at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) Seems like this should work...
    via by Eric Eckstrand,
    • java.lang.OutOfMemoryError: Requested array size exceeds VM limit at water.rapids.ASTHist.computeCuts(ASTHist.java:128) at water.rapids.ASTHist.apply(ASTHist.java:52) at water.rapids.ASTExec.exec(ASTExec.java:46) at water.rapids.ASTTmpAssign.apply(ASTAssign.java:260) at water.rapids.ASTTmpAssign.apply(ASTAssign.java:253) at water.rapids.ASTExec.exec(ASTExec.java:46) at water.rapids.Session.exec(Session.java:56) at water.rapids.Exec.exec(Exec.java:63) at water.api.RapidsHandler.exec(RapidsHandler.java:25) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:62) at water.api.RequestServer.handle(RequestServer.java:650) at water.api.RequestServer.serve(RequestServer.java:591) at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:616) at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:564) at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    No Bugmate found.