Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Set a max heap size.

  • Loading branch information...
commit 7cc2348989dec03d797273ab0b7ade0752cd6aec 1 parent 61c82c4
Anthony Grimes authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  project.clj
  2. +1 −1  src/tryclojure/core.clj
2  project.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)
2  src/tryclojure/core.clj
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])
Please sign in to comment.
Something went wrong with that request. Please try again.