Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
2.14.3
-
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
- relates to
-
CAMEL-8602 Java 8: ConcurrentLinkedHashMap -> Caffeine
- Resolved