java.lang.OutOfMemoryError: Java heap space


Solutions on the web

Solution icon of duraspace
via Sakai JIRA by Pavel, 1 year ago
Java heap space

Solution icon of duraspace
via Sakai JIRA by Pavel, 1 year ago
Java heap space

Solution icon of googlegroups
via Google Groups by deepak singh, 9 months ago
Java heap space* *java.lang.OutOfMemoryError: Java heap space*

Solution icon of web
via ow2.org by Unknown author, 1 year ago
Java heap space>java.lang.OutOfMemoryError: Java heap space

Solution icon of coderanch
via Coderanch by adeeb alexander, 11 months ago
Java heap space

Solution icon of coderanch
via Coderanch by pasquale vitale, 10 months ago
Java heap space

Solution icon of coderanch
via Coderanch by Joshua Elkino, 11 months ago
Java heap space

Solution icon of coderanch
via Coderanch by afeez adebiyi, 9 months ago
Java heap space

Solution icon of coderanch
via Coderanch by karmegam shiva, 10 months ago
Java heap space

Solution icon of coderanch
via Coderanch by Isaac Ferguson, 1 year ago
Java heap space

Stack trace

java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Arrays.java:2271)
	at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:113)
	at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93)
	at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:140)
	at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:78)
	at com.sun.jersey.api.client.CommittingOutputStream.write(CommittingOutputStream.java:90)
	at com.sun.jersey.core.util.ReaderWriter.writeTo(ReaderWriter.java:115)
	at com.sun.jersey.core.provider.AbstractMessageReaderWriterProvider.writeTo(AbstractMessageReaderWriterProvider.java:76)
	at com.sun.jersey.core.impl.provider.entity.InputStreamProvider.writeTo(InputStreamProvider.java:98)
	at com.sun.jersey.core.impl.provider.entity.InputStreamProvider.writeTo(InputStreamProvider.java:59)
	at com.sun.jersey.api.client.RequestWriter.writeRequestEntity(RequestWriter.java:300)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:213)
	at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)
	at com.sun.jersey.api.client.filter.HTTPBasicAuthFilter.handle(HTTPBasicAuthFilter.java:104)
	at com.sun.jersey.api.client.Client.handle(Client.java:648)
	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680)
	at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
	at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:568)
	at com.yourmediashelf.fedora.client.request.AddDatastream.execute(AddDatastream.java:232)

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
8 times, 1 day ago
2 times, 1 week ago
Once, 1 month ago
Once, 1 month ago
52 more bugmates