Confluence becomes slow or unresponsive due to CodeCache is full

XMLWordPrintable

    • 4
    • Severity 2 - Major
    • 1

      Problem

      The instance may crash, become slow or unresponsive.

      The following appears in catalina.out:

      Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
      Java HotSpot(TM) 64-Bit Server VM warning: Try increasing the code cache size using -XX:ReservedCodeCacheSize=
      CodeCache: size=245760Kb used=243892Kb max_used=243931Kb free=1867Kb
       bounds [0x00007faa3b170000, 0x00007faa4a170000, 0x00007faa4a170000]
       total_blobs=45719 nmethods=44096 adapters=1528
       compilation: disabled (not enough contiguous free space left)
      

      Workaround

      https://confluence.atlassian.com/confkb/confluence-crashes-due-to-codecache-is-full-compiler-has-been-disabled-780864803.html

      More about it: https://www.atlassian.com/blog/archives/codecache-is-full-compiler-has-been-disabled?_ga=2.229075548.116609190.1519594258-1471596918.1509407930

            Assignee:
            George Lipatov
            Reporter:
            George Lipatov
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: