<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 5 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=IT link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi Eric, thank’s for your reply.<br>I have two projectst: p and p1. In p i have 5 classes with some methods with empty body and just someone with operation on primitive type. P1 is the same of p, but in one methods there is an arraylist. If i use rta for p i have a perfect complete call-grah but for p1 i have the problem that i have described before.<br>Yesterday, i tried to use spark with “on-fly-cg:true” and “rta:false” but, with this options, for p i have a call-graph with missing edges (maybe becasue i use non-static methods as entry-points), for p1 a complete perfect call-graph. </p><p class=MsoNormal>Can the solution be Paddle? (But for now i not have succeeded to configure it ). </p><p class=MsoNormal>Inviato da <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Posta</a> per Windows 10</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>Da: </b><a href="mailto:eric.bodden@uni-paderborn.de">Eric Bodden</a><br><b>Inviato: </b>mercoledì 19 settembre 2018 14:11<br><b>A: </b><a href="mailto:darioamorosodaragona@gmail.com">Dario Amoroso d'Aragona</a><br><b>Cc: </b><a href="mailto:soot-list@sable.mcgill.ca">Soot list</a><br><b>Oggetto: </b>Re: [Soot-list] Spark generating rta call-graph:java.lang.OutOfMemoryError: GC overhead limit exceeded</p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Helvetica",sans-serif;color:black'>Hi Dario.<br><br style='caret-color: rgb(0, 0, 0);font-variant-caps: normal;orphans: auto;text-align:start;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px'><br></span><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Helvetica",sans-serif'>With the debugger i see that soot in generating call graph load all java method for ArrayList.<span class=apple-converted-space> </span><o:p></o:p></span></p></blockquote><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Helvetica",sans-serif;color:black'><br>That is the standard behaviour. Do you wish to exclude JDK classes from the analysis? If so, please try the option -no-bodies-for-excluded<br><br style='caret-color: rgb(0, 0, 0);font-variant-caps: normal;orphans: auto;text-align:start;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px'><br></span><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Helvetica",sans-serif'>The program run for 1 hour and than give me that error. I run it with java vm option -Xmx10g.<span class=apple-converted-space> </span><br>I try to delete the two methods "realFailureTest" and "realPasstest" and all it's ok. I try to generate the spark call-graph with "rta" option false and "on-fly-cg" option true and all it's ok. Why?!<span class=apple-converted-space> </span><o:p></o:p></span></p></blockquote><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Helvetica",sans-serif;color:black'><br>I also noticed that you had  "on-fly-cg” set to false. This usually never makes sense. In this case, Soot first tries to construct an entire CHA-based call-graph for your entire code, and then runs its pointer-analysis on top of that callgraph. This is both less precise and less efficient than the on-the-fly mode. Hence  "on-fly-cg” should always be set to true.<br><br>Cheers<br>Eric</span> <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>