From: Chris Koeritz Date: Fri, 13 Apr 2012 18:42:41 +0000 (-0400) Subject: u X-Git-Tag: 2.140.90~1427 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=bba185d33bbd94ab371a39299840d89d751a330d;p=feisty_meow.git u --- diff --git a/examples/custom_overrides/fred/build_cak0l.sh b/examples/custom_overrides/fred/build_cak0l.sh index 1dc3f197..b1a484d3 100644 --- a/examples/custom_overrides/fred/build_cak0l.sh +++ b/examples/custom_overrides/fred/build_cak0l.sh @@ -4,6 +4,12 @@ function build_cak0l() { pushd ~/xsede/code/cak0l/trunk ant -Dbuild.targetArch=64 build + # fix memory limits. + sed -e "s/-Xmx512M/-Xmx2G/" < "runContainer.sh" >"$TMP/${USER}_edited.tmp" + mv "$TMP/${USER}_edited.tmp" "runContainer.sh" + sed -e "s/-Xmx512M/-Xmx1G/" < "grid" >"$TMP/${USER}_edited.tmp" + mv "$TMP/${USER}_edited.tmp" "grid" + chmod 755 "grid" "runContainer.sh" popd }