Hi Inbar
The thing is that you are probably "using the cache" without being
aware of it. Without further details as to the exact objects on the
heap I can only guess, but if you look at e.g. Reflection2 [1], you
will see that jclouds caches a lot of calls using reflection to
improve performance.
Perhaps a different question: is there any way to reduce the number of
contexts you are using, and so get the overall size down? Could you
give some more background as to *why* you have so many contexts?
Regards
ap
[1]
https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/reflect/Reflection2.java