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

JIRA | JM | 1 year ago
  1. 0

    output - Model Summary number_of_trees 500 model_size_in_bytes 281881559 min_depth 50 max_depth 50 mean_depth 50.0 min_leaves 44957 max_leaves 52239 mean_leaves 48751.7770 10-20 13:18:14.773 10.5.120.29:54321 13741 #56798-16 INFO: Method: GET , URI: /3/Models.java/DRF_model_R_1444752985632_30.java, route: /3/Models/(?<modelid>.*?)(\.java)?, parms: {model_id=DRF_model_R_1444752985632_30} 2015-10-20 13:18:44.418:WARN:oejs.ServletHandler:Error for /3/Models.java/DRF_model_R_1444752985632_30.java java.lang.OutOfMemoryError: Requested array size exceeds VM limit at java.util.Arrays.copyOf(Arrays.java:2367) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130) at java.lang.StringBuilder.append(StringBuilder.java:143) at java.lang.StringBuilder.append(StringBuilder.java:183) at water.util.SB.p(SB.java:128) at hex.tree.TreeJCodeGen.generate(TreeJCodeGen.java:105) at hex.tree.SharedTreeModel.toJavaPredictBody(SharedTreeModel.java:231) at hex.Model.toJavaPredict(Model.java:1014) at hex.Model.toJava(Model.java:932) at hex.Model.toJava(Model.java:881) at water.api.ModelSchema.toJava(ModelSchema.java:126) at water.api.RequestServer.wrap(RequestServer.java:679) at water.api.RequestServer.serve(RequestServer.java:580) at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:617) at water.JettyHTTPD$H2oDefaultServlet.doGet(JettyHTTPD.java:559) at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) 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) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)

    JIRA | 1 year ago | JM
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  2. 0

    output - Model Summary number_of_trees 500 model_size_in_bytes 281881559 min_depth 50 max_depth 50 mean_depth 50.0 min_leaves 44957 max_leaves 52239 mean_leaves 48751.7770 10-20 13:18:14.773 10.5.120.29:54321 13741 #56798-16 INFO: Method: GET , URI: /3/Models.java/DRF_model_R_1444752985632_30.java, route: /3/Models/(?<modelid>.*?)(\.java)?, parms: {model_id=DRF_model_R_1444752985632_30} 2015-10-20 13:18:44.418:WARN:oejs.ServletHandler:Error for /3/Models.java/DRF_model_R_1444752985632_30.java java.lang.OutOfMemoryError: Requested array size exceeds VM limit at java.util.Arrays.copyOf(Arrays.java:2367) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130) at java.lang.StringBuilder.append(StringBuilder.java:143) at java.lang.StringBuilder.append(StringBuilder.java:183) at water.util.SB.p(SB.java:128) at hex.tree.TreeJCodeGen.generate(TreeJCodeGen.java:105) at hex.tree.SharedTreeModel.toJavaPredictBody(SharedTreeModel.java:231) at hex.Model.toJavaPredict(Model.java:1014) at hex.Model.toJava(Model.java:932) at hex.Model.toJava(Model.java:881) at water.api.ModelSchema.toJava(ModelSchema.java:126) at water.api.RequestServer.wrap(RequestServer.java:679) at water.api.RequestServer.serve(RequestServer.java:580) at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:617) at water.JettyHTTPD$H2oDefaultServlet.doGet(JettyHTTPD.java:559) at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) 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) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494) at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)

    JIRA | 1 year ago | JM
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  3. 0

    ~48 MB XHTML file causes XMLAnalyzer to explode

    GitHub | 2 years ago | vladak
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OOM when running UrlMappingBuilder

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

    Requested array size exceeds VM limit

    GitHub | 2 years ago | joonlee3
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit

  1. Handemelindo 2 times, last 1 month ago
  2. Tahir 2 times, last 2 months ago
  3. Tahir 2 times, last 2 months ago
  4. harshg 2 times, last 3 months ago
  5. sunils 1 times, last 5 months ago
3 more registered users
16 unregistered visitors
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 java.util.Arrays.copyOf()
  2. Java RT
    StringBuilder.append
    1. java.util.Arrays.copyOf(Arrays.java:2367)
    2. java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
    3. java.lang.StringBuilder.append(StringBuilder.java:143)
    4. java.lang.StringBuilder.append(StringBuilder.java:183)
    4 frames
  3. water.util
    SB.p
    1. water.util.SB.p(SB.java:128)
    1 frame
  4. hex.tree
    SharedTreeModel.toJavaPredictBody
    1. hex.tree.TreeJCodeGen.generate(TreeJCodeGen.java:105)
    2. hex.tree.SharedTreeModel.toJavaPredictBody(SharedTreeModel.java:231)
    2 frames
  5. hex
    Model.toJava
    1. hex.Model.toJavaPredict(Model.java:1014)
    2. hex.Model.toJava(Model.java:932)
    3. hex.Model.toJava(Model.java:881)
    3 frames
  6. water.api
    RequestServer.serve
    1. water.api.ModelSchema.toJava(ModelSchema.java:126)
    2. water.api.RequestServer.wrap(RequestServer.java:679)
    3. water.api.RequestServer.serve(RequestServer.java:580)
    3 frames
  7. water
    JettyHTTPD$H2oDefaultServlet.doGet
    1. water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:617)
    2. water.JettyHTTPD$H2oDefaultServlet.doGet(JettyHTTPD.java:559)
    2 frames
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
    2 frames
  9. Jetty
    BlockingHttpConnection.handleRequest
    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)
    13. org.eclipse.jetty.server.Server.handle(Server.java:370)
    14. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
    15. org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
    15 frames