Skip to content

Commit e38b066

Browse files
committed
Add some JVM options.
- Limit the amount of memory in use to avoid CircleCI's OOM killer. - Try for some faster startup with tiered compilation.
1 parent b0f964c commit e38b066

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

project.clj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@
55
:url "https://github.com/conormcd/clj-libssh2/blob/master/LICENSE"}
66
:pedantic? :abort
77
:dependencies [[org.clojure/clojure "1.7.0"]
8-
[net.n01se/clojure-jna "1.0.0"]])
8+
[net.n01se/clojure-jna "1.0.0"]]
9+
:jvm-opts ["-Xmx1g"
10+
"-XX:+TieredCompilation"
11+
"-XX:TieredStopAtLevel=1"])

0 commit comments

Comments
 (0)