for some insulting reason the mail server consider my reply as spam so i copy paste the thread so far (sorry)
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.. thanks in advance. regards inbar Andrew Phillips via<http://support.google.com/mail/bin/answer.py?hl=en&answer=1311182&ctx=mail> jclouds.apache.org 4:15 PM (1 hour ago) to dev > 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) > Do you have any more details about these caches, e.g. which ones are large? jclouds has a number of caches which are used to speed up some of the reflection it does, so it would be good to get any additional details you have... Inbar Stolberg <inbar...@gmail.com> 5:31 PM (3 minutes ago) to dev 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 hope this is enough info