Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (16 sloc) 0.567 kb
#! /bin/bash
if [ $# -lt 2 ]
then
1>&2 echo "usage: `basename $0` <clj-version> <output-file> [ cmd line args for Clojure program ]"
exit 1
fi
CLJ_VERSION="$1"
shift
source ../env.sh
OUTP="$1"
shift
# Use a small limit to avoid using lots of memory. It makes the
# garbage collector collect more often, but the extra CPU time is not
# much.
MAX_HEAP_MB=16
../bin/measureproc ${MP_COMMON_ARGS} ${MP_ARGS_FOR_JVM_RUN} --output "${OUTP}" "${JAVA}" ${JAVA_PROFILING} ${JAVA_OPTS} -Xmx${MAX_HEAP_MB}m -classpath "${PS_FULL_CLJ_CLASSPATH}" fannkuchredux "$@"
Jump to Line
Something went wrong with that request. Please try again.