Hi all.

I have a code attached. Basically I keep adding and deleting same records
to/from cache. But getTotalAllocatedSize from DataRegionMetrics seems to
keep growing.

Are there any comments?

-- 
Alper Tekinalp

Software Development Team Lead
Evam Streaming Analytics

www.evam.com <http://www.evam.com.tr>
<http://www.evam.com>
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 729870336 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1121820672 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1136005120 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1159389184 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1162575872 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1177264128 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1179586560 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1194196992 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1195675648 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1210699776 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1212182528 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1224163328 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1224896512 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1233948672 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1234624512 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1241165824 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1241665536 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1247133696 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1247432704 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1254776832 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1255026688 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1260584960 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1260802048 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1267757056 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1267949568 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1273188352 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1273311232 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1278537728 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1278668800 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1282932736 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1283063808 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1287426048 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1287512064 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1292275712 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1292341248 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1295847424 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1295904768 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1299750912 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1299808256 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1303937024 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1304051712 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1306542080 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1306603520 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1312727040 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1312808960 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1317429248 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1317564416 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1321668608 Bytes
Adding elements beetween 0 and 500000 elements.
Cache size on memory: 101613568 Bytes, total size: 1321746432 Bytes
Removing all
Cache size on memory: 101613568 Bytes, total size: 1324904448 Bytes

Attachment: Main.java
Description: Binary data

Reply via email to