java.lang.OutOfMemoryError: Requested array size exceeds VM limit

JIRA | Eric Eckstrand | 10 months ago
  1. 0

    -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...

    JIRA | 10 months ago | Eric Eckstrand
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  2. 0

    -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...

    JIRA | 10 months ago | Eric Eckstrand
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  3. 0

    Requested array size exceeds VM limit

    symmetricds | 8 years ago | thermo4
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.OutOfMemoryError: Requested array size exceeds VM limit

    GitHub | 2 years ago | Arcnor
    java.lang.RuntimeException: java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  6. 0

    Solr - Indexer causes java.lang.OutOfMemoryError: Java heap space

    Stack Overflow | 1 year ago | HANUMAN
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Requested array size exceeds VM limit

      at water.rapids.ASTHist.computeCuts()
    2. water.rapids
      Exec.exec
      1. water.rapids.ASTHist.computeCuts(ASTHist.java:128)
      2. water.rapids.ASTHist.apply(ASTHist.java:52)
      3. water.rapids.ASTExec.exec(ASTExec.java:46)
      4. water.rapids.ASTTmpAssign.apply(ASTAssign.java:260)
      5. water.rapids.ASTTmpAssign.apply(ASTAssign.java:253)
      6. water.rapids.ASTExec.exec(ASTExec.java:46)
      7. water.rapids.Session.exec(Session.java:56)
      8. water.rapids.Exec.exec(Exec.java:63)
      8 frames
    3. water.api
      RapidsHandler.exec
      1. water.api.RapidsHandler.exec(RapidsHandler.java:25)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. water.api
      RequestServer.serve
      1. water.api.Handler.handle(Handler.java:62)
      2. water.api.RequestServer.handle(RequestServer.java:650)
      3. water.api.RequestServer.serve(RequestServer.java:591)
      3 frames
    6. water
      JettyHTTPD$H2oDefaultServlet.doPost
      1. water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:616)
      2. water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:564)
      2 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      2 frames
    8. Jetty
      HandlerWrapper.handle
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      11. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
      12. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      12 frames