java.lang.OutOfMemoryError: Java heap space

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

Solutions on the web

via Oracle Community by gussie, 1 year ago
java.lang.OutOfMemoryError: Java heap space
at sun.net.www.http.ChunkedInputStream.processRaw(ChunkedInputStream.java:336)
at sun.net.www.http.ChunkedInputStream.readAheadNonBlocking(ChunkedInputStream.java:493)
at sun.net.www.http.ChunkedInputStream.readAhead(ChunkedInputStream.java:584)
at sun.net.www.http.ChunkedInputStream.hurry(ChunkedInputStream.java:734)
at sun.net.www.http.ChunkedInputStream.closeUnderlying(ChunkedInputStream.java:198)
at sun.net.www.http.ChunkedInputStream.close(ChunkedInputStream.java:715)
at java.io.FilterInputStream.close(FilterInputStream.java:155)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(HttpURLConnection.java:2458)
at java.io.BufferedInputStream.close(BufferedInputStream.java:451)
at java.io.FilterInputStream.close(FilterInputStream.java:155)
at com.sun.enterprise.ee.synchronization.http.HttpUnzipper.writeZip(HttpUnzipper.java:122)
at com.sun.enterprise.ee.synchronization.http.HttpGetCommand.execute(HttpGetCommand.java:126)
at com.sun.enterprise.ee.synchronization.BaseRequestMediator.execute(BaseRequestMediator.java:90)
at com.sun.enterprise.ee.synchronization.BaseRequestMediator.run(BaseRequestMediator.java:107)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

You are the first who have seen this exception.

Write tip

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