tww19920930 commented on issue #3288: URL: https://github.com/apache/hertzbeat/issues/3288#issuecomment-2823782614
我也遇到类似问题,这是我抓取到的日志信息 2025-04-23 05:19:05.638 [502075248919552-api_code-status-3114] ERROR org.apache.hertzbeat.collector.dispatch.WorkerPool Line:49 - Thread Name 502075248919552-api_code-status-3114 : Cannot reserve 4194304 bytes of direct buffer memory (allocated: 2055249937, limit: 2058354688) java.lang.OutOfMemoryError: Cannot reserve 4194304 bytes of direct buffer memory (allocated: 2055249937, limit: 2058354688) at java.base/java.nio.Bits.reserveMemory(Bits.java:178) at java.base/java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:121) at java.base/java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:332) at io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:717) at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:692) at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:215) at io.netty.buffer.PoolArena.tcacheAllocateNormal(PoolArena.java:197) at io.netty.buffer.PoolArena.allocate(PoolArena.java:139) at io.netty.buffer.PoolArena.allocate(PoolArena.java:129) at io.netty.buffer.PooledByteBufAllocatorL$InnerAllocator.newDirectBufferL(PooledByteBufAllocatorL.java:173) at io.netty.buffer.PooledByteBufAllocatorL$InnerAllocator.directBuffer(PooledByteBufAllocatorL.java:206) at io.netty.buffer.PooledByteBufAllocatorL.allocate(PooledByteBufAllocatorL.java:53) at org.apache.arrow.memory.netty.NettyAllocationManager.<init>(NettyAllocationManager.java:74) at org.apache.arrow.memory.netty.NettyAllocationManager.<init>(NettyAllocationManager.java:81) at org.apache.arrow.memory.netty.NettyAllocationManager$1.create(NettyAllocationManager.java:38) at org.apache.arrow.memory.BaseAllocator.newAllocationManager(BaseAllocator.java:376) at org.apache.arrow.memory.BaseAllocator.newAllocationManager(BaseAllocator.java:372) at org.apache.arrow.memory.BaseAllocator.bufferWithoutReservation(BaseAllocator.java:357) at org.apache.arrow.memory.BaseAllocator.buffer(BaseAllocator.java:336) at org.apache.arrow.memory.RootAllocator.buffer(RootAllocator.java:27) at org.apache.arrow.memory.BaseAllocator.buffer(BaseAllocator.java:298) at org.apache.arrow.memory.RootAllocator.buffer(RootAllocator.java:27) at org.apache.arrow.vector.BaseVariableWidthVector.allocateBytes(BaseVariableWidthVector.java:498) at org.apache.arrow.vector.BaseVariableWidthVector.allocateNew(BaseVariableWidthVector.java:446) at org.apache.arrow.vector.BaseVariableWidthVector.allocateNew(BaseVariableWidthVector.java:407) at org.apache.arrow.vector.VectorSchemaRoot.allocateNew(VectorSchemaRoot.java:150) at org.apache.hertzbeat.common.entity.message.CollectRep$MetricsData$Builder.build(CollectRep.java:432) at org.apache.hertzbeat.collector.dispatch.MetricsCollect.validateResponse(MetricsCollect.java:447) at org.apache.hertzbeat.collector.dispatch.MetricsCollect.run(MetricsCollect.java:199) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:842) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@hertzbeat.apache.org For additional commands, e-mail: notifications-h...@hertzbeat.apache.org