Skip to content

Commit

Permalink
Remove [:bin :jvm-opts] in project.clj that has no effect
Browse files Browse the repository at this point in the history
The executable binary is built with hard-coded JVM options, which
defaults to "-Xmx2g". You'll have to use uberjar if you need to apply
a different set of options.
  • Loading branch information
junegunn committed Jan 20, 2016
1 parent 5822547 commit d31c3c0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -36,7 +36,6 @@ You can find the examples in [conf-examples](conf-examples/).
### Environment variables

- `DEBUG` - Enable debug logs when set
- `JVM_OPTS` - JVM options

## Development

Expand Down
4 changes: 0 additions & 4 deletions project.clj
Expand Up @@ -32,10 +32,6 @@
[jonase/eastwood "0.2.1"]] ; lein eastwood
:ring {:handler hbase-region-inspector.core/app
:nrepl {:start? true :port 9999}}
:bin {:jvm-opts ~(if-let [jvm-opts (or (System/getenv "JVM_OPTS")
(System/getenv "JAVA_OPTS"))]
(clojure.string/split jvm-opts #"\s+")
["-Xmx2g"])}
:jvm-opts ["-Xmx2g"]
:main ^:skip-aot hbase-region-inspector.core

Expand Down

0 comments on commit d31c3c0

Please sign in to comment.