Re: "lein uberjar" gives me java.lang.OutOfMemoryError:

2016-12-11 Thread larry google groups
Thank you. On Sunday, December 11, 2016 at 6:32:50 AM UTC-5, Matching Socks wrote: > > An answer from "noisesmith" here > > http://stackoverflow.com/questions/32288195/why-lein-uberjar-evaluates-variables-defined-with-def > says, "In order to compile your namespace for the uberjar (if you have AO

Re: "lein uberjar" gives me java.lang.OutOfMemoryError:

2016-12-11 Thread Matching Socks
An answer from "noisesmith" here http://stackoverflow.com/questions/32288195/why-lein-uberjar-evaluates-variables-defined-with-def says, "In order to compile your namespace for the uberjar (if you have AOT turned on), the clojure compiler must load your namespace. This will always invoke all top-

Re: "lein uberjar" gives me java.lang.OutOfMemoryError:

2016-12-10 Thread larry google groups
I seem to get around this by increasing: :jvm-opts ["-Xms300m" "-Xmx300m" "-XX:-UseCompressedOops"]) Is that possible? I didn't realize that effected "lein uberjar" I thought it only effected my app when my app was running. On Saturday, December 10, 2016 at 11:37:44 PM UTC-5, larry google