JBoss Community

Re: JBoss Cache - Memory Leak when many Fqn/nodes added in Cache

created by Tomas Cerny in JBoss Cache - View the full discussion

Hello Sathish,

 

You are probably right!

 

I have used VisualVM to evaluate it.

 

(1)

I have evaluated s:cache. 1 hour measurement with treeCache

Heap Size 108MB -> 190MB after GC

PermGen  108MB -> 111MB after GC

 

(2)

I took off s:cache, I got not concurent exceptions :) . 30 minut evaluation

Heap Size 113MB -> 130MB after GC

PermGen  105MB -> 107MB after GC

 

Seems like a leak. I have JBoss 4.2.3 so I upgraded jboss cache and jgroups (1.4.1.SP14)

 

Here is what I get now

(3)

I have evaluated s:cache. 30 minut evaluation

Heap Size 115MB -> 127MB after GC

PermGen  105MB -> 111MB after GC

 

Seems better..

 

Look here for more

http://docs.jboss.org/jbosscache/2.2.0.GA/userguide_en/html_single/

http://docs.jboss.org/jbosscache/2.0.0.GA/JBossCache-UserGuide/en/html_single/index.html

http://docs.jboss.org/jbosscache/1.4.1.SP4/TreeCache/en/html/index.html

Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community