Permalink
Browse files

Set a max heap size.

  • Loading branch information...
Raynes committed Nov 4, 2011
1 parent 61c82c4 commit 7cc2348989dec03d797273ab0b7ade0752cd6aec
Showing with 2 additions and 2 deletions.
  1. +1 −1 project.clj
  2. +1 −1 src/tryclojure/core.clj
View
@@ -6,5 +6,5 @@
[clojail "0.5.0-beta3"]]
;; For lein and Heroku compatibility. If you're using cake, add
;; this line to .cake/config: jvm.opts = -Djava.security.policy=example.policy
- :jvm-opts ["-Djava.security.policy=example.policy"]
+ :jvm-opts ["-Djava.security.policy=example.policy" #_"-Xmx80M"]
:main tryclojure.core)
View
@@ -5,7 +5,7 @@
noir.core
[noir.response :only [json]]
[clojure.stacktrace :only [root-cause]]
- [clojail.core :only [sandbox]]
+ [clojail.core :only [sandbox eagerly-consume]]
[clojail.testers :only [secure-tester-without-def]])
(:require [noir.server :as server]
[noir.session :as session])

0 comments on commit 7cc2348

Please sign in to comment.