You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Hongcai Deng (Jira)" <ji...@apache.org> on 2019/10/01 02:19:00 UTC
[jira] [Updated] (ZOOKEEPER-3564) org.apache.zookeeper.ClientCnxn
EventThread Memory Problem
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hongcai Deng updated ZOOKEEPER-3564:
------------------------------------
Attachment: image-2019-10-01-10-18-07-156.png
> 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)