Hi,
I am using ehcache configuration in my Spring web application.
Currently am able to see the below mentioned code consuming heaps of memory thereby causing memory leak and increasing the JVM heap. Any help is appreciated.
There is
3,326,160,944 bytes used in the heapdump and out of that 2,577,991,568 bytes
(77.51 %) of Java heap is used by 64 instances of
net/sf/ehcache/store/disk/Segment
Contains 64 instances of the following leak suspects:
- array of net/sf/ehcache/store/disk/HashEntry holding 39,685,064 bytes at
0x766cd5460
- array of net/sf/ehcache/store/disk/HashEntry holding 40,438,064 bytes at
0x763800090
- array of net/sf/ehcache/store/disk/HashEntry holding 41,209,560 bytes at
0x763288988
- array of net/sf/ehcache/store/disk/HashEntry holding 40,264,504 bytes at
0x7676377b8
- array of net/sf/ehcache/store/disk/HashEntry holding 40,313,656 bytes at
0x7642b8420
- array of net/sf/ehcache/store/disk/HashEntry holding 40,344,608 bytes at
0x766c00000
- array of net/sf/ehcache/store/disk/HashEntry holding 40,951,824 bytes at
0x765886ec0
- array of net/sf/ehcache/store/disk/HashEntry holding 40,331,776 bytes at
0x7631b5648
- array of net/sf/ehcache/store/disk/HashEntry holding 40,227,552 bytes at
0x766884c28
- array of net/sf/ehcache/store/disk/HashEntry holding 40,603,176 bytes at
0x76263e9d8
- array of net/sf/ehcache/store/disk/HashEntry holding 40,799,168 bytes at
0x76767dbc0
- array of net/sf/ehcache/store/disk/HashEntry holding 41,175,864 bytes at
0x765534308
- array of net/sf/ehcache/store/disk/HashEntry holding 39,993,984 bytes at
0x7661b0ba0
- array of net/sf/ehcache/store/disk/HashEntry holding 39,755,704 bytes at
0x768877580
- array of net/sf/ehcache/store/disk/HashEntry holding 40,601,240 bytes at
0x7648e0428
- array of net/sf/ehcache/store/disk/HashEntry holding 39,769,120 bytes at
0x765d73150
- array of net/sf/ehcache/store/disk/HashEntry holding 39,079,984 bytes at
0x768eaee38
- array of net/sf/ehcache/store/disk/HashEntry holding 40,737,944 bytes at
0x76852db38
- array of net/sf/ehcache/store/disk/HashEntry holding 40,486,856 bytes at
0x76287f898
- array of net/sf/ehcache/store/disk/HashEntry holding 40,398,576 bytes at
0x763acdcf0
- array of net/sf/ehcache/store/disk/HashEntry holding 39,589,184 bytes at
0x769c0cfc0
- array of net/sf/ehcache/store/disk/HashEntry holding 40,293,216 bytes at
0x764716c48
- array of net/sf/ehcache/store/disk/HashEntry holding 40,624,944 bytes at
0x766a2d298
- array of net/sf/ehcache/store/disk/HashEntry holding 39,920,072 bytes at
0x765749f38
- array of net/sf/ehcache/store/disk/HashEntry holding 39,510,208 bytes at
0x7690b5198
- array of net/sf/ehcache/store/disk/HashEntry holding 40,354,624 bytes at
0x7667efac8
- array of net/sf/ehcache/store/disk/HashEntry holding 40,327,728 bytes at
0x767022110
- array of net/sf/ehcache/store/disk/HashEntry holding 40,624,568 bytes at 0x76510b400
- array of net/sf/ehcache/store/disk/HashEntry holding 39,665,400 bytes at
0x768436998
- array of net/sf/ehcache/store/disk/HashEntry holding 40,192,816 bytes at
0x765c71708
- array of net/sf/ehcache/store/disk/HashEntry holding 40,442,400 bytes at
0x764e7c300
- array of net/sf/ehcache/store/disk/HashEntry holding 40,056,472 bytes at
0x76492d460
- array of net/sf/ehcache/store/disk/HashEntry holding 40,351,752 bytes at
0x765f495d8
- array of net/sf/ehcache/store/disk/HashEntry holding 40,609,984 bytes at
0x76562b790
- array of net/sf/ehcache/store/disk/HashEntry holding 41,034,248 bytes at
0x766158e28
- array of net/sf/ehcache/store/disk/HashEntry holding 39,366,224 bytes at
0x7648bcb88
- array of net/sf/ehcache/store/disk/HashEntry holding 40,474,552 bytes at
0x767826678
- array of net/sf/ehcache/store/disk/HashEntry holding 40,809,736 bytes at
0x766975918
- array of net/sf/ehcache/store/disk/HashEntry holding 40,379,408 bytes at
0x7664ab6d0
- array of net/sf/ehcache/store/disk/HashEntry holding 40,159,800 bytes at
0x763e472e8
- array of net/sf/ehcache/store/disk/HashEntry holding 40,236,968 bytes at
0x76685b420
- array of net/sf/ehcache/store/disk/HashEntry holding 40,132,624 bytes at
0x7672cc258
- array of net/sf/ehcache/store/disk/HashEntry holding 39,856,680 bytes at
0x76806ac60
- array of net/sf/ehcache/store/disk/HashEntry holding 40,521,752 bytes at
0x766d9b990
- array of net/sf/ehcache/store/disk/HashEntry holding 40,337,328 bytes at
0x76769a658
- array of net/sf/ehcache/store/disk/HashEntry holding 39,764,968 bytes at
0x766960e38
- array of net/sf/ehcache/store/disk/HashEntry holding 40,339,400 bytes at
0x764cab320
- array of net/sf/ehcache/store/disk/HashEntry holding 40,101,992 bytes at
0x768c05158
- array of net/sf/ehcache/store/disk/HashEntry holding 40,349,280 bytes at
0x766435ed8
- array of net/sf/ehcache/store/disk/HashEntry holding 40,640,840 bytes at
0x761d883b0
- array of net/sf/ehcache/store/disk/HashEntry holding 39,630,112 bytes at
0x767800390
- array of net/sf/ehcache/store/disk/HashEntry holding 40,094,216 bytes at
0x765a2e570
- array of net/sf/ehcache/store/disk/HashEntry holding 41,023,640 bytes at
0x76457f1a0
- array of net/sf/ehcache/store/disk/HashEntry holding 40,529,664 bytes at
0x7655505a0
- array of net/sf/ehcache/store/disk/HashEntry holding 40,478,488 bytes at
0x763dc7e00
- array of net/sf/ehcache/store/disk/HashEntry holding 40,255,616 bytes at
0x768400358
- array of net/sf/ehcache/store/disk/HashEntry holding 40,119,240 bytes at
0x7657c72e0
- array of net/sf/ehcache/store/disk/HashEntry holding 40,733,032 bytes at
0x765215388
- array of net/sf/ehcache/store/disk/HashEntry holding 39,699,752 bytes at
0x7696d8c58
- array of net/sf/ehcache/store/disk/HashEntry holding 40,563,464 bytes at
0x765a14a38
- array of net/sf/ehcache/store/disk/HashEntry holding 40,441,840 bytes at
0x7615eb638
- array of net/sf/ehcache/store/disk/HashEntry holding 40,070,144 bytes at
0x766fb9678
- array of net/sf/ehcache/store/disk/HashEntry holding 40,150,392 bytes at
0x7669ed510
- array of net/sf/ehcache/store/disk/HashEntry holding 39,953,280 bytes at
0x766008680
Total size 2,577,991,568 bytes
Name of the array of net/sf/ehcache/store/disk/Segment
Number of children 64
Number of parents 1
Owner object: net/sf/ehcache/store/disk/DiskStore
Regards,
Ipsita