Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B54C5D4AA for ; Thu, 21 Jun 2012 16:27:45 +0000 (UTC) Received: (qmail 69315 invoked by uid 500); 21 Jun 2012 16:27:45 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 68742 invoked by uid 500); 21 Jun 2012 16:27:44 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 68481 invoked by uid 99); 21 Jun 2012 16:27:44 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2012 16:27:44 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 2C196142863 for ; Thu, 21 Jun 2012 16:27:44 +0000 (UTC) Date: Thu, 21 Jun 2012 16:27:44 +0000 (UTC) From: "Keith Turner (JIRA)" To: dev@accumulo.apache.org Message-ID: <1006264754.39485.1340296064185.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1806799092.47392.1339070184274.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (ACCUMULO-624) iterators may open lots of compressors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398538#comment-13398538 ] Keith Turner commented on ACCUMULO-624: --------------------------------------- A work around for this issue is to enable the block cache for the table. This will cause rfile blocks to be read into memory and closed immediately, releasing the decompressor. A decompressor will not be kept for each deep copy in this case. I did some test with the intersecting iterator to verify this. W/o cache querying 5 terms would allocate 5 decompressors. W/ cache only one decompressor was allocated. > iterators may open lots of compressors > -------------------------------------- > > Key: ACCUMULO-624 > URL: https://issues.apache.org/jira/browse/ACCUMULO-624 > Project: Accumulo > Issue Type: Bug > Components: tserver > Reporter: Eric Newton > Assignee: Keith Turner > > A large iterator tree may create many instances of Compressors. These instances are pulled from a pool that never decreases in size. So, if 50 simultaneous queries are run over dozens of files, each with a complex iterator stack, there will be thousands of compressors created. Each of these holds a large buffer. This can cause the server to run out of memory. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira