Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 52F5F177A3 for ; Tue, 7 Oct 2014 07:39:34 +0000 (UTC) Received: (qmail 34484 invoked by uid 500); 7 Oct 2014 07:39:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 34437 invoked by uid 500); 7 Oct 2014 07:39:34 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 34424 invoked by uid 99); 7 Oct 2014 07:39:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2014 07:39:34 +0000 Date: Tue, 7 Oct 2014 07:39:33 +0000 (UTC) From: "Benoit Lacelle (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-8066) High Heap Consumption due to high number of SSTableReader MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Benoit Lacelle created CASSANDRA-8066: ----------------------------------------- Summary: High Heap Consumption due to high number of SSTableReader Key: CASSANDRA-8066 URL: https://issues.apache.org/jira/browse/CASSANDRA-8066 Project: Cassandra Issue Type: Bug Components: Core Environment: Cassandra 2.1.0 Reporter: Benoit Lacelle Given a workload with quite a lot of reads, I recently encountered high heap memory consumption. Given 2GB of Heap, it appears I have 750.000+ tasks in SSTableReader.syncExecutor, consuming more than 1.2GB. These tasks have type SSTableReader$5, which I guess corresponds to : {code} readMeterSyncFuture = syncExecutor.scheduleAtFixedRate(new Runnable() { public void run() { if (!isCompacted.get()) { meterSyncThrottle.acquire(); SystemKeyspace.persistSSTableReadMeter(desc.ksname, desc.cfname, desc.generation, readMeter); } } }, 1, 5, TimeUnit.MINUTES); {code} I do not have have to the environment right now, but I could provide a threaddump later if necessary. -- This message was sent by Atlassian JIRA (v6.3.4#6332)