java.lang.OutOfMemoryError: Java heap space at org.elasticsearch.common.io.stream.StreamInput.readBytesHolder(StreamInput.java:57) at org.elasticsearch.common.io.stream.StreamInput.readBytesReference(StreamInput.java:67) at org.elasticsearch.common.io.stream.AdapterStreamInput.readBytesReference(AdapterStreamInput.java:36) at org.elasticsearch.action.index.IndexRequest.readFrom(IndexRequest.java:700) at org.elasticsearch.action.bulk.BulkRequest.readFrom(BulkRequest.java:294) at org.elasticsearch.transport.netty.MessageChannelHandler.handleRequest(MessageChannelHandler.java:339) at org.elasticsearch.transport.netty.MessageChannelHandler.process(MessageChannelHandler.java:243) at org.elasticsearch.transport.netty.MessageChannelHandler.callDecode(MessageChannelHandler.java:154) at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:101) at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558) at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247) at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35) at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102) at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

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 grokbase.com by Unknown author, 1 year ago
org.elasticsearch.common.io.stream.AdapterStreamInput.readBytesReference(AdapterStreamInput.java:36) at org.elasticsearch.action.index.IndexRequest.readFrom(IndexRequest.java:700) at org.elasticsearch.action.bulk.BulkRequest.readFrom(BulkRequest.java:294) at
via grokbase.com by Unknown author, 1 year ago
org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:95) at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75) at
via grokbase.com by Unknown author, 1 year ago
Java heap space at java.util.concurrent.CopyOnWriteArrayList.remove(CopyOnWriteArrayList.java:481) at java.util.concurrent.CopyOnWriteArraySet.remove(CopyOnWriteArraySet.java:205) at
via apache.org by Unknown author, 1 year ago
Java heap space at > java.util.concurrent.CopyOnWriteArrayList.remove(CopyOnWriteArrayList.java:481) at > java.util.concurrent.CopyOnWriteArraySet.remove(CopyOnWriteArraySet.java:205) at
via grokbase.com by Unknown author, 1 year ago
Java heap space at org.apache.solr.servlet.SolrDispatchFilter.sendError(SolrDispatchFilter.java:735) ... at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
via jakarta-jmeter-user by ext-narsi.reddy@nokia.com, 1 year ago
Java heap space at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:136 ) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.readResponse(HTT PSamplerBase.java:1614) at
java.lang.OutOfMemoryError: Java heap space at org.elasticsearch.common.io.stream.StreamInput.readBytesHolder(StreamInput.java:57) at org.elasticsearch.common.io.stream.StreamInput.readBytesReference(StreamInput.java:67) at org.elasticsearch.common.io.stream.AdapterStreamInput.readBytesReference(AdapterStreamInput.java:36) at org.elasticsearch.action.index.IndexRequest.readFrom(IndexRequest.java:700) at org.elasticsearch.action.bulk.BulkRequest.readFrom(BulkRequest.java:294) at org.elasticsearch.transport.netty.MessageChannelHandler.handleRequest(MessageChannelHandler.java:339) at org.elasticsearch.transport.netty.MessageChannelHandler.process(MessageChannelHandler.java:243) at org.elasticsearch.transport.netty.MessageChannelHandler.callDecode(MessageChannelHandler.java:154) at org.elasticsearch.transport.netty.MessageChannelHandler.messageReceived(MessageChannelHandler.java:101) at org.elasticsearch.common.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:74) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:563) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558) at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:268) at org.elasticsearch.common.netty.channel.Channels.fireMessageReceived(Channels.java:255) at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.read(NioWorker.java:91) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:373) at org.elasticsearch.common.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:247) at org.elasticsearch.common.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35) at org.elasticsearch.common.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:102) at org.elasticsearch.common.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)

Users with the same issue

2 times, 6 months ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago

Write tip

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