aboutsummaryrefslogtreecommitdiff
path: root/doc/problemexamples/problemtemplate
diff options
context:
space:
mode:
Diffstat (limited to 'doc/problemexamples/problemtemplate')
-rwxr-xr-xdoc/problemexamples/problemtemplate/run/java6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/problemexamples/problemtemplate/run/java b/doc/problemexamples/problemtemplate/run/java
index e8e8c7a..6d4d700 100755
--- a/doc/problemexamples/problemtemplate/run/java
+++ b/doc/problemexamples/problemtemplate/run/java
@@ -15,7 +15,7 @@
# // You should have received a copy of the GNU General Public License
# // along with this program. If not, see <http://www.gnu.org/licenses/>.
# ////////////////////////////////////////////////////////////////////////////////
-#Last modified: 21/aug/2014 by cassio@ime.usp.br
+#Last modified: 04/nov/2014 by cassio@ime.usp.br
#
# parameters are:
# $1 main_class
@@ -145,7 +145,7 @@ if [ ! -x "\$java" ]; then
exit 47
fi
export CLASSPATH=.:./run.jar:$CLASSPATH
-"$sf" -r$nruns -t$time -T$ttime -istdin0 -F256 -u256 -ostdout0 -estderr0 -U$bocau -G$bocag -n0 -C. -f20000 -d20000000 -m20000000 -- "\$java" -Xmx${maxm}K -Xms${maxm}K "$name"
+"$sf" -r$nruns -t$time -T$ttime -istdin0 -F256 -u256 -ostdout0 -estderr0 -U$bocau -G$bocag -n0 -C. -f20000 -d20000000 -m20000000 -- "\$java" -Xmx${maxm}K -Xss${maxm}K -Xms${maxm}K "$name"
retval=\$?
echo \$retval > runit.retcode
if [ ! -d /bocajail ]; then
@@ -173,7 +173,7 @@ else
echo "$java not found or it's not executable"
exit 47
fi
- "$sf" -r$nruns -t$time -T$ttime -istdin0 -F256 -u256 -U$bocau -G$bocag -ostdout0 -estderr0 -n0 -C. -d20000000 -m20000000 -- "$java" -cp run.jar -Xmx${maxm}K -Xms${maxm}K "$name"
+ "$sf" -r$nruns -t$time -T$ttime -istdin0 -F256 -u256 -U$bocau -G$bocag -ostdout0 -estderr0 -n0 -C. -d20000000 -m20000000 -- "$java" -cp run.jar -Xmx${maxm}K -Xss${maxm}K -Xms${maxm}K "$name"
ret=$?
fi
if [ $ret -gt 10 ]; then