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

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JIRA by eric eckstrand, 1 year ago
Requested array size exceeds VM limit
via JIRA by Eric Eckstrand, 1 year ago
Requested array size exceeds VM limit
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.