Hi Srikanth

stopping a bundle will call the activator stop method of the bundle, but it won't remove the bundle classloader. You have to uninstall the bundle to actually remove

I guess that you see heap consumption (not non heap), so it's probably due object instantiation.

If you take a heap dump or plug jvisualvm to Karaf, you will see the most instantiated objects and the ones which take most of the memory. Then you will be able to identify (using the package and path), the bundle at the origin.

Regards
JB

On 07/21/2015 07:50 AM, Srikanth Hugar wrote:
Hello,

       I wanted to know whether is it possible to check the bundle
memory usage.
I have the karaf running and more memory is getting consumed.

And also wanted to know if we stop the bundle in running karaf, is more
get released?

I suspected one bundle consuming memory and i stopped the bundle, but
memory not released.

any information would be very helpful.

Best Regards,
Srikanth


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to