[Soot-list] Compiling Soot

Prof. Laurie HENDREN hendren at cs.mcgill.ca
Fri Jan 20 17:17:06 EST 2006


You have to put something like this is a file called .antrc.

ANT_OPTS="$ANT_OPTS -Xmx700m"

Cheers, Laurie


+-----------------------------------------------------------------
| Laurie Hendren --- laurie.hendren at mcgill.ca
| Associate Dean (Academic), Faculty of Science,
| Dawson Hall, McGill University, 853 Sherbrooke St W,
| Montreal QC H3A 2T6 Canada, 514-398-7179, fax 514-398-1774
+----------------------------------------------------------------
| For contact and home page info as Professor, Computer Science:
| http://www.sable.mcgill.ca/~hendren   ---  hendren at cs.mcgill.ca
| Research: http://www.sable.mcgill.ca  http://aspectbench.org
+----------------------------------------------------------------

On Fri, 20 Jan 2006, Michael Robert BATCHELDER wrote:

>
> Hello folks,
>
> I'm trying to compile soot but I am having a problem. Specifically, the
> ant task is failing with an error message that is stating that javac pukes
> on an 'outOfMemory' error. I've tried adding compilerarg tags to the javac
> task in the build.xml file to increase the initial and maximum heap sizes
> but with no luck (i.e. -Xms500m and -Xmx900m). I also tried '-J-Xms500m'
> since that seems to be the proper way to send those parameters to javac,
> but the ant task fails with an error: invalid javac parameter.
> Nevertheless, running javac myself on the commandline accepts this
> parameter just fine.
>
> Everyone else in the Sable lab that I have talked to reports being able to
> compile soot without any problems using just the default ant settings and
> build file. The machine I am using has 1gig of RAM which, when I check the
> memory usage while ant is running, is certainly not being exhausted.
>
> Does anyone have any ideas, hints, or suggestions?
>
> Thanks in advance.
>
> Michael Batchelder
>
> Sable Research Lab
> School of Computer Science
> McGill University
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>



More information about the Soot-list mailing list