camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Farkas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8994) Large memory use on Large core count(512) servers
Date Tue, 21 Jul 2015 15:49:04 GMT
Zoltan Farkas created CAMEL-8994:
------------------------------------

             Summary: Large memory use on Large core count(512) servers
                 Key: CAMEL-8994
                 URL: https://issues.apache.org/jira/browse/CAMEL-8994
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.14.3
            Reporter: Zoltan Farkas


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) 





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message