[Soot-list] large memory consumption
Fang Liu
fbeyond.liu at gmail.com
Mon Oct 27 11:16:46 EDT 2014
Hi, All,
I am using soot to do flow analysis. The program consumes lots of memory
(2GB) when processing a 100KB class with CombinedDuAnalysis.v(unitgraph).
Does anyone know what combineDuAnalysis do in detail? Why it sometimes
consumes so much memory?
Below is the errors when the heapsize is 1GB.
Thank you.
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at
soot.toolkits.scalar.ArraySparseSet.doubleCapacity(ArraySparseSet.java:120)
at soot.toolkits.scalar.ArraySparseSet.copy(ArraySparseSet.java:274)
at
soot.toolkits.scalar.CombinedDUAnalysis.copy(CombinedDUAnalysis.java:261)
at
soot.toolkits.scalar.BackwardFlowAnalysis.doAnalysis(BackwardFlowAnalysis.java:129)
at
soot.toolkits.scalar.CombinedDUAnalysis.<init>(CombinedDUAnalysis.java:163)
at
soot.toolkits.scalar.CombinedDUAnalysis.v(CombinedDUAnalysis.java:99)
Best,
Fang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20141027/edf6f735/attachment.html
More information about the Soot-list
mailing list