SootUp icon indicating copy to clipboard operation
SootUp copied to clipboard

Memory footprint optimization

Open slimming-fat opened this issue 2 years ago • 1 comments

Hi,I used SootUp to test a 607MB project with 16GB of RAM. Here is the memory usage(The red box is introduced by sootUp and will not be reclaimed until the program has finished running): 1704419112492

SootUp has other strategies to optimize memory usage besides

new LRUCacheProvider

if so, what should I do?

slimming-fat avatar Jan 05 '24 01:01 slimming-fat

https://github.com/soot-oss/SootUp/blob/develop/docs/getting-started.md

try JavaView view = new JavaView(Collections.singletonList(inputLocation), new LRUCacheProvider(50));

Liyw979 avatar Jan 05 '24 03:01 Liyw979