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 73B599583 for ; Fri, 25 May 2012 13:08:24 +0000 (UTC) Received: (qmail 80025 invoked by uid 500); 25 May 2012 13:08:23 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 79907 invoked by uid 500); 25 May 2012 13:08:23 -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 79898 invoked by uid 99); 25 May 2012 13:08:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2012 13:08:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 45EA9142815 for ; Fri, 25 May 2012 13:08:23 +0000 (UTC) Date: Fri, 25 May 2012 13:08:23 +0000 (UTC) From: "Adam Fuchs (JIRA)" To: dev@accumulo.apache.org Message-ID: <1961518816.1737.1337951303288.JavaMail.jiratomcat@issues-vm> In-Reply-To: <59026850.16245.1337374867514.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (ACCUMULO-599) investigate permgen collection and class unloading with concurrent mark and sweep garbage collector 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-599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283364#comment-13283364 ] Adam Fuchs commented on ACCUMULO-599: ------------------------------------- Sounds like we ought to reach out to a Java GC guru with this question. My philosophy would be that we should pull in whatever configs we think make sense and then thoroughly test. Waiting for bugs to show up could mask the potential for performance improvement. > investigate permgen collection and class unloading with concurrent mark and sweep garbage collector > --------------------------------------------------------------------------------------------------- > > Key: ACCUMULO-599 > URL: https://issues.apache.org/jira/browse/ACCUMULO-599 > Project: Accumulo > Issue Type: Bug > Components: scripts > Affects Versions: 1.3.6, 1.4.0 > Reporter: Adam Fuchs > Assignee: John Vines > > The Java concurrent mark and sweep garbage collector appears to default to not unloading classes or sweeping the permgen storage space. Accumulo reloads classes dynamically, potentially contributing a lot to the permgen space. It is important that these classes be garbage collected when we're done with them. Since we use -XX:+UseConcMarkSweepGC by default for all Accumulo processes, should we also use -XX:+CMSClassUnloadingEnabled and -XX:+CMSPermGenSweepingEnabled? Are there other flags or parameters that we should set to really do java garbage collection properly in a long-lived instance? > These should be set in conf/accumulo-env.sh as part of ACCUMULO_GENERAL_OPTS. -- 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