Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-599

investigate permgen collection and class unloading with concurrent mark and sweep garbage collector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.3.6, 1.4.0
    • None
    • scripts
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ecn Eric C. Newton
              afuchs Adam Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: