You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/07/22 10:00:11 UTC
[jira] [Commented] (CAMEL-8994) Large memory use on Large core
count(512) servers
[ https://issues.apache.org/jira/browse/CAMEL-8994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14636461#comment-14636461 ]
Claus Ibsen commented on CAMEL-8994:
------------------------------------
There is a ticket about upgrading the CL HashMap but that newer version is Java8+ only. And Camel supports Java7.
> 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: Improvement
> 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)