|Anonymous | Login | Signup for a new account||12-05-2019 08:52 PST|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Advanced Details [ Jump to Notes ]||[ View Simple ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0003054||[Resin]||minor||always||11-07-08 09:40||12-15-08 11:50|
|ETA||none||Fixed in Version||4.0.0||Product Version|
|Summary||0003054: cache memory size|
(rep by Daniel Vydra)
we're trying to assess the memory usage of our application which is running in resin professional 3.0.19.
We are using resin cache, which is configured like this:
<cache path="cache" memory-size="10M" disk-size="1G" />
We had assumed this means that the cache would use up a maximum of 10 megabytes of memory, but when we take a heap dump:
jmap -dump:format=b,file=/path/to/dump.hprof <javaProcessPid>
and run it through Eclipse Memory Analyser, it shows that there are approx 170-200 megabytes retained by com.caucho.db.store.BlockManager, all in com.caucho.util.LongKeyLruCache$CacheItem objects (about 2979 objects total).
Is this expected? Is there any way to use the cache without having the memory usage for it expand to this size?
|Steps To Reproduce|
|There are no notes attached to this issue.|
|11-07-08 09:40||ferg||New Issue|
|12-15-08 11:50||ferg||Assigned To||=> ferg|
|12-15-08 11:50||ferg||Status||new => closed|
|12-15-08 11:50||ferg||Resolution||open => fixed|
|12-15-08 11:50||ferg||Fixed in Version||=> 4.0.0|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.|
24 unique queries executed.