java heap space at_java.lang.OutOfMemoryError: Java heap space

这篇博客记录了一次Elasticsearch服务器遇到的Java堆内存溢出问题,详细日志显示在处理客户端HTTP流量时发生错误,导致服务关闭。错误主要由Java堆空间不足引起,可能与大量数据处理或配置不当有关。

[ERROR][o.e.b.ElasticsearchUncaughtExceptionHandler] [datacenter22] fatal error in thread [elasticsearch[datacenter22][bulk][T#30]], exiting

java.lang.OutOfMemoryError: Java heap space

[2017-09-11T11:23:00,453][WARN ][o.e.h.n.Netty4HttpServerTransport] [datacenter21] caught exception while handling client http traffic, closing connection [id: 0xea1dc2d3, L:/10.16.65.21:9200 - R:/10.16.65.13:44230]

java.lang.OutOfMemoryError: Java heap space

at io.netty.buffer.UnpooledHeapByteBuf.(UnpooledHeapByteBuf.java:46) ~[?:?]

at io.netty.buffer.UnpooledByteBufAllocator.newHeapBuffer(UnpooledByteBufAllocator.java:59) ~[?:?]

at io.netty.buffer.AbstractByteBufAllocator.heapBuffer(AbstractByteBufAllocator.java:160) ~[?:?]

at io.netty.buffer.AbstractByteBufAllocator.heapBuffer(AbstractByteBufAllocator.java:151) ~[?:?]

at io.netty.buffer.Unpooled.buffer(Unpooled.java:116) ~[?:?]

--

at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) [elasticsearch-5.0.1.jar:5.0.1]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值