From bba185d33bbd94ab371a39299840d89d751a330d Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 13 Apr 2012 14:42:41 -0400 Subject: [PATCH] u --- examples/custom_overrides/fred/build_cak0l.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 } -- 2.34.1