java.lang.OutOfMemoryError: Java heap space


Solutions on the web2

Solution icon of oraclecommunity
via Oracle Community by gussie, 1 year ago
Java heap space


Stack trace

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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

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.