Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.17.1
-
None
-
Solaris T5 1024 core machine
java 1.7.045
Description
Cloned from: AMQ-6492
On a Solaris T5 with 1024 cores, the amount of memory used by LRUCache which in turn is using ConcurrentLinkedHashMap from
https://github.com/ben-manes/concurrentlinkedhashmap
consumes about 20MB of memory. In my install this correlates to over 300MB of memory.
concurrentlinkedhashmap allocates memory based on CPU count, with no upper limit, so each instance of LRUCache in memory consumes more memory than is really needed.
See AMQ-6492 for screenshots (didn't want to copy/paste them here)