Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8994

Large memory use on Large core count(512) servers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 2.14.3
    • 2.15.3, 2.16.0, 2.14.4
    • camel-core
    • None
    • Unknown

    Description

      ConcurrentLinkedHashmap get huge on these servers (200 +Mb)

      There are some CPU related defaults + Some padding that are the source of this, more discussion at:

      https://github.com/ben-manes/concurrentlinkedhashmap/issues/43

      upgrading to a newer version should remove the padding and reduce memory usage...

      Another thing I noticed that is related, is that LRUCache
      default initial size is equal with maximum size... which is 1000, would it make more sense to have a lower default for initialSize? (64)

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              zolyfarkas Zoltan Farkas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: