[moving thread to the jclouds user mailing list where it belongs.] Which version of jclouds do you use? We removed SyncProxy before jclouds 1.6 so you use a very old version! Please upgrade to 1.7.2 and test again.
On Wed, May 28, 2014 at 09:05:18AM +0300, Inbar Stolberg wrote: > hi all > i am working with a number of jclouds conexts and the problem is i see that > each one is using > cache (about 8mb if i am not mistaken) > i don't use the cache feature at all so i would very much like to reduce > this memory consumption to 0. > i have no problem doing this externally or internally in the jclouds code.. > > this is some of the memory heap . > > as you can see we use a lot of Contexts so each ones counts. > > the line below sows the size of a single ComputeServiceContextImpl in > itself not to big but it stacks up > > > > > > Class Name > | Objects | Shallow Heap | Retained Heap > > org.jclouds.compute.internal.ComputeServiceContextImpl | 470 | > 15,040 | 626,228,176 > > org.jclouds.rest.internal.RestContextImpl | 2,351 > | 94,040 | 501,228,920 > > org.jclouds.concurrent.internal.SyncProxy | 113,580 > | 5,451,840 | 255,100,240 > > > > Class Name > | Shallow Heap | Retained Heap > > org.jclouds.compute.internal.ComputeServiceContextImpl | 32 | > 1,344,184 > > > > thanks in advance. > regards inbar -- Andrew Gaul http://gaul.org/
