Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print long log(more than 200M), memory leak happens. #98

Open
beangou opened this issue Nov 23, 2022 · 0 comments
Open

print long log(more than 200M), memory leak happens. #98

beangou opened this issue Nov 23, 2022 · 0 comments

Comments

@beangou
Copy link

beangou commented Nov 23, 2022

below is the img;
image

below is the thread stack:

at sun.misc.Unsafe.park(ZJ)V (Native Method)
at java.util.concurrent.locks.LockSupport.park(Ljava/lang/Object;)V (LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt()Z (AbstractQueuedSynchronizer.java:836)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireShared(I)V (AbstractQueuedSynchronizer.java:967)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(I)V (AbstractQueuedSynchronizer.java:1283)
at java.util.concurrent.Semaphore.acquireUninterruptibly(I)V (Semaphore.java:494)
at com.aliyun.openservices.log.producer.inner.PackageManager.acquireBytes(I)V (PackageManager.java:53)
at com.aliyun.openservices.log.producer.inner.PackageManager.doAdd(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/aliyun/openservices/log/producer/ILogCallback;)V (PackageManager.java:155)
at com.aliyun.openservices.log.producer.inner.PackageManager.add(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/aliyun/openservices/log/producer/ILogCallback;)V (PackageManager.java:121)
at com.aliyun.openservices.log.producer.LogProducer.send(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/aliyun/openservices/log/producer/ILogCallback;)V (LogProducer.java:38)
at com.aliyun.openservices.log.logback.LoghubAppender.appendEvent(Ljava/lang/Object;)V (LoghubAppender.java:130)
at com.aliyun.openservices.log.logback.LoghubAppender.append(Ljava/lang/Object;)V (LoghubAppender.java:88)
at ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(Ljava/lang/Object;)V (UnsynchronizedAppenderBase.java:84)
at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(Ljava/lang/Object;)I (AppenderAttachableImpl.java:51)
at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Lch/qos/logback/classic/spi/ILoggingEvent;)I (Logger.java:270)
at ch.qos.logback.classic.Logger.callAppenders(Lch/qos/logback/classic/spi/ILoggingEvent;)V (Logger.java:257)
at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Ljava/lang/String;Lorg/slf4j/Marker;Lch/qos/logback/classic/Level;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V (Logger.java:421)
at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Ljava/lang/String;Lorg/slf4j/Marker;Lch/qos/logback/classic/Level;Ljava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V (Logger.java:383)
at ch.qos.logback.classic.Logger.error(Ljava/lang/String;[Ljava/lang/Object;)V (Logger.java:534)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant