zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hongcai Deng (Jira)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-3564) org.apache.zookeeper.ClientCnxn EventThread Memory Problem
Date Tue, 01 Oct 2019 02:19:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16941470#comment-16941470
] 

Hongcai Deng commented on ZOOKEEPER-3564:
-----------------------------------------

!image-2019-10-01-10-18-07-156.png|width=362,height=352!

> org.apache.zookeeper.ClientCnxn EventThread Memory Problem
> ----------------------------------------------------------
>
>                 Key: ZOOKEEPER-3564
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3564
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>            Reporter: Hongcai Deng
>            Priority: Major
>         Attachments: image-2019-10-01-10-02-28-228.png, image-2019-10-01-10-18-07-156.png
>
>
> recently i found some fullgc occur on my java app. i did heapdump and found that
> !image-2019-10-01-10-02-28-228.png!
> EventThread ate too much memory. I dig into zk code, found that
>  
> {code:java}
> class EventThread extends ZooKeeperThread {
>     private final LinkedBlockingQueue<Object> waitingEvents =
>         new LinkedBlockingQueue<Object>();
>     // code lines
> }{code}
> waitingEvents not set a boundary. is this for some reason?
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message