facebook/mariana-trench

For large size apk/code it is consuming heavy battery/cpu/memory

Closed this issue · 1 comments

For me when I try to analyse some apk which has large codebase then marina-trench takes too much battery/cpu/memory, I think does it needs improvement in thread handling?

My system: MacOS BigSur 11.6, 8 GB Memory, Intel i5

Memory:

Screenshot 2021-10-10 at 5 15 56 PM

Energy Impact:

Screenshot 2021-10-10 at 5 25 02 PM

Hi @rahulkankrale, thanks for reaching out.
For big apks you probably want to run it on a bigger machine. 8GB of memory seems pretty low.
You can also play with the --maximum-trace-length option to limit the analysis time, at the cost of finding shorter traces.