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] [Created] (ZOOKEEPER-3564) org.apache.zookeeper.ClientCnxn EventThread Memory Problem
Date Tue, 01 Oct 2019 02:08:00 GMT
Hongcai Deng created ZOOKEEPER-3564:

             Summary: 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
         Attachments: image-2019-10-01-10-02-28-228.png

recently i found some fullgc occur on my java app. i did heapdump and found that


EventThread ate too much memory. I dig into zk code, found that

class EventThread extends ZooKeeperThread {
    private final LinkedBlockingQueue<Object> waitingEvents =
        new LinkedBlockingQueue<Object>();

    // code lines
waitingEvents not set a boundary. is this for some reason?


This message was sent by Atlassian Jira

View raw message