java.lang.OutOfMemoryError

Java heap space

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via by Francisco Lozano,
  • via by Francisco Lozano,
  • Stack trace

    • java.lang.OutOfMemoryError: Java heap space at io.netty.buffer.UnpooledHeapByteBuf.<init>(UnpooledHeapByteBuf.java:45)[netty-all-4.0.24.Final.jar:4.0.24.Final] at io.netty.buffer.UnpooledByteBufAllocator.newHeapBuffer(UnpooledByteBufAllocator.java:43)[netty-all-4.0.24.Final.jar:4.0.24.Final] at io.netty.buffer.AbstractByteBufAllocator.heapBuffer(AbstractByteBufAllocator.java:136)[netty-all-4.0.24.Final.jar:4.0.24.Final] at io.netty.buffer.AbstractByteBufAllocator.heapBuffer(AbstractByteBufAllocator.java:127)[netty-all-4.0.24.Final.jar:4.0.24.Final] at io.netty.buffer.Unpooled.buffer(Unpooled.java:118)[netty-all-4.0.24.Final.jar:4.0.24.Final] at org.springframework.http.client.Netty4ClientHttpRequest.<init>(Netty4ClientHttpRequest.java:68)[spring-web-4.1.4.RELEASE.jar:4.1.4.RELEASE] at org.springframework.http.client.Netty4ClientHttpRequestFactory.createRequestInternal(Netty4ClientHttpRequestFactory.java:148)[spring-web-4.1.4.RELEASE.jar:4.1.4.RELEASE] at org.springframework.http.client.Netty4ClientHttpRequestFactory.createAsyncRequest(Netty4ClientHttpRequestFactory.java:144)[spring-web-4.1.4.RELEASE.jar:4.1.4.RELEASE] at org.springframework.http.client.support.AsyncHttpAccessor.createAsyncRequest(AsyncHttpAccessor.java:76)[spring-web-4.1.4.RELEASE.jar:4.1.4.RELEASE] at org.springframework.web.client.AsyncRestTemplate.doExecute(AsyncRestTemplate.java:533)[spring-web-4.1.4.RELEASE.jar:4.1.4.RELEASE] at org.springframework.web.client.AsyncRestTemplate.execute(AsyncRestTemplate.java:512)[spring-web-4.1.4.RELEASE.jar:4.1.4.RELEASE] at org.springframework.web.client.AsyncRestTemplate.exchange(AsyncRestTemplate.java:456)[spring-web-4.1.4.RELEASE.jar:4.1.4.RELEASE]

    Write tip

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

    No Bugmate found.