[Soot-list] Allocating memory to Soot

Modhi Alsobiehy m99m20 at hotmail.com
Tue Apr 15 19:26:57 EDT 2014


Thanks Steven that really helped!

-Best,
Modhi

> On Apr 15, 2014, at 1:16 PM, "Steven Arzt" <Steven.Arzt at cased.de> wrote:
> 
> Hi Modhi,
>  
> The memory allocation is controlled by your Java VM, this is nothing Soot has any influence on. Hence, you cannot set it through Soot’s classes. How do you start Soot? If you just start it from Eclipse, there is a field in the run configurations dialog in which you can specify additional VM arguments. You can place your –Xmx4g or whatever you need there. I’m pretty sure other IDEs offer similar features.
>  
> Best regards,
>   Steven
>  
> Von: soot-list-bounces at CS.McGill.CA [mailto:soot-list-bounces at CS.McGill.CA] Im Auftrag von Modhi Alsobiehy
> Gesendet: Dienstag, 15. April 2014 19:29
> An: soot-list at sable.mcgill.ca
> Betreff: [Soot-list] Allocating memory to Soot
>  
> Hi All,
>  
> while analyzing -jimplifing- an apk, I got the following error message:
> Soot has run out of the memory allocated to it by the Java VM.
> To allocate more memory to Soot, use the -Xmx switch to Java. 
> For example <for 400MB>: java -Xmx400m soot.Main ...
> How to allocate memory to soot knowing that it is not called from the command line?
> I searched Options.v() and there is no option associated with that?
>  
> Thanks,
>  
> Sent from Windows Mail
>  
> _______________________________________________
> Soot-list mailing list
> Soot-list at CS.McGill.CA
> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20140415/8fbf5d76/attachment-0001.html 
-------------- next part --------------
_______________________________________________
Soot-list mailing list
Soot-list at CS.McGill.CA
https://mailman.CS.McGill.CA/mailman/listinfo/soot-list


More information about the Soot-list mailing list