[Soot-list] how to free memory

Jochen Huck jochen.huck at student.kit.edu
Wed Jan 12 12:08:56 EST 2011


Hi,

I am using soot to analyze a bigger project and it really needs a lot of 
memory and time (it only runs with -Xmx5000m and -XX:MaxPermSize=256m 
and needs about 35 minutes). Because of that I would like to know how I 
can free some memory.
My own transformation is added to the jap pack and only needs the 
information of the sideeffect analysis (the tags DependenceGraph and 
DependenceTag) and the SourceLnPosTag. Then every method body is 
transformed separately.
I assume that I can call Scene.releaseCallGraph() and 
Scene.releasePointsToAnalysis() in the constructor of my BodyTransformer 
to free some memory. Is that right? What about the other release methods?

Thanks,
Jochen


More information about the Soot-list mailing list