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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 1.3.6, 1.4.0
    • Fix Version/s: None
    • Component/s: scripts
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: