[Soot-list] how to free memory

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


Sorry,

as I am reading this email again I see that I can't call the release 
methods in the constructor. I assume that I will have to do this in the 
internalTransform method even it is called for every body...

Am 12.01.2011 18:08, schrieb Jochen Huck:
> 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
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list



More information about the Soot-list mailing list