From 8ec32ad13084adadb29dd655460895acce76850c Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 21 Nov 2016 18:12:48 +0100 Subject: [PATCH] Set lower defaults resource requiremens for dev profile. --- backend/profiles.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/profiles.clj b/backend/profiles.clj index 2662e7bde..7c99594b3 100644 --- a/backend/profiles.clj +++ b/backend/profiles.clj @@ -1,8 +1,9 @@ {:dev {:plugins [[lein-ancient "0.6.10"]] :dependencies [[clj-http "2.1.0"]] + :jvm-opts ^:replace ["-Xms500m" "-Xmx500m" "-XX:+UseG1GC"] :main ^:skip-aot uxbox.main} :prod - {:jvm-opts ^:replace ["-Xms4g" "-Xmx4g" "-XX:+UseG1GC" + {:jvm-opts ^:replace ["-Xms1g" "-Xmx1g" "-XX:+UseG1GC" "-XX:+AggressiveOpts" "-server"]}}