[Potlatch-dev] Build Memory Requirements - A Workaround

Robert Norris rw_norris at hotmail.com
Sat Apr 14 20:39:24 BST 2012


 I use Debian on an AMD 64 bit PC, so not just Mac users need the ANT_OPTS method to make Potlatch2 build.

(ANT_OPTS="-Xms768m -Xmx1024m -XX:MaxPermSize=512m")

However I note that if I take out the 'depolyLocales' from the build.xml file, the build skips unnecessary bits (for me) - then the build succeeds ATM within the default memory constraints.

Is there a way to override  <target name="init" depends="git-buildnumber,svn-buildnumber,deployLocales"> in the ant command line (or ANT_OPTS)?

I like my git status to be clean :)


Be Seeing You - Rob.
If at first you don't succeed,
then skydiving isn't for you.
 		 	   		  


More information about the Potlatch-dev mailing list