[Soot-list] Howto generate a CallGraph?

bq chan cbqios at gmail.com
Mon May 5 23:39:48 EDT 2008


2008/5/5 Eric Bodden <eric.bodden at mail.mcgill.ca>:

> > I tried the code you provided, but  it seemed something wrong.
> >
> > It ran heavily, slowly and giving message repeatly:
> >
> >     GC Warning: Repeated allocation of very large block (appr. size
> *****):
> >          May lead to memory leak and poor performance.
> >
> > Could u plz help me. Thanks!
>
> Hmm that's odd. Could just be a heap space issue though. Can you try
> the following?
>
> java -Xmx1024m CGMain -w CallGraphs
>
> This assigns 1GB of heap space to the VM. (the default can certainly be
> too low£©


I tried it. But I didn't work either.................

It took a long time to  give the following hints:

[cbq at localhost src]$ java -Xmx1024m CGMain -w CallGraphs
Soot started on Tue May 06 11:11:54 GMT+08:00 2008
No main class given. Inferred 'CallGraphs' as main class.
[Call Graph] For information on where the call graph may be incomplete, use
the verbose option to the cg phase.
GC Warning: Repeated allocation of very large block (appr. size 528384):
        May lead to memory leak and poor performance.



>
> Eric
>
> --
> Eric Bodden
> Sable Research Group
> McGill University, Montr¨¦al, Canada
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20080506/22461d3b/attachment.htm


More information about the Soot-list mailing list