Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Implemented
-
Affects Version/s: 2.14.3
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity: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
- relates to
-
CAMEL-8602 Java 8: ConcurrentLinkedHashMap -> Caffeine
-
- Resolved
-