From: <pj...@us...> - 2008-10-17 23:55:57
|
Revision: 5458 http://jython.svn.sourceforge.net/jython/?rev=5458&view=rev Author: pjenvey Date: 2008-10-17 23:55:52 +0000 (Fri, 17 Oct 2008) Log Message: ----------- allow more heap for the regrtest to avoid the OutOfMemory errors. we don't seem to actually be leaking -- we just have more test modules Modified Paths: -------------- trunk/jython/build.xml Modified: trunk/jython/build.xml =================================================================== --- trunk/jython/build.xml 2008-10-17 21:21:36 UTC (rev 5457) +++ trunk/jython/build.xml 2008-10-17 23:55:52 UTC (rev 5458) @@ -171,6 +171,7 @@ <pathelement path="${exposed.dir}" /> <pathelement path="${compile.dir}" /> </path> + <property name="regrtest.Xmx" value="-Xmx96m" /> </target> <target name="version-init"> @@ -757,6 +758,7 @@ <target name="regrtest-unix" if="os.family.unix"> <exec executable="${dist.dir}/bin/jython"> <arg value="--verify"/> + <arg value="-J${regrtest.Xmx}"/> <arg value="${dist.dir}/Lib/test/regrtest.py"/> <!-- Only run the tests that are expected to work on Jython --> <arg value="--expected"/> @@ -764,6 +766,7 @@ </target> <target name="regrtest-windows" if="os.family.windows"> <exec executable="${dist.dir}/bin/jython.bat"> + <arg value="-J${regrtest.Xmx}"/> <arg value="${dist.dir}/Lib/test/regrtest.py"/> <!-- Only run the tests that are expected to work on Jython --> <arg value="--expected"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |