thanks Andrew. so what I am thinking is moving to latest 1.7 and use merge some of the experimented branch. is the reference you sent is the only class I need to change or is there anything else? and is there something i need to manually configure other than that?
thanks for the help Inbar On Wed, May 28, 2014 at 3:23 PM, Andrew Phillips <[email protected]> wrote: > *java.util.LinkedHashMap$Entry | >> 2,363 | * * 94,520* >> *sun.reflect.generics.tree.SimpleClassTypeSignature | 3,826 >> | >> 91,824* >> *java.lang.Object[] >> | 1,983 | 81,608* >> *java.util.HashMap$Entry[] >> | >> 980 | 81,600* >> *java.lang.reflect.Method >> | 908 | 79,904* >> *sun.reflect.generics.tree.TypeArgument[] | >> 3,826 | 63,784* >> > > We'd need to look at the reference chain in detail to be sure, but this > data certainly appears consistent with some of the reflection-related > caches in jclouds. > > As an experiment, you could try a custom build of jclouds that removes > those caches from Reflection2 [1], just to see what the difference is, both > in terms of performance and memory footprint..? > > ap > > [1] https://github.com/jclouds/jclouds/blob/master/core/src/ > main/java/org/jclouds/reflect/Reflection2.java >
