Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (8 sloc) 383 Bytes
#!/bin/sh
#
# start's the web server as defined in core.clj
# and a swank server to connect via emacs
# options for low memory usage (like on my VPS host)
# this uses ~300mb on a 32bit OS
JAVA_OPTS="-server -Xmx128m -Djava.awt.headless=true -XX:MaxPermSize=40m -XX:ReservedCodeCacheSize=32m"
exec java $JAVA_OPTS -cp src:resources:lib/*:lib/dev/* clojure.main src/whabbit/core.clj