> On May 14, 2015, at 9:15 PM, Fluid Dynamics <a2093...@trbvm.com> wrote:
>  
> Umm, the :replace metadata needs to be on the vector. Attaching it to the let 
> form won't do much of anything useful. So:
> 
>  :jvm-opts ~(let [mem-to-use
>                    (long (* (.getTotalPhysicalMemorySize
>                               
> (java.lang.management.ManagementFactory/getOperatingSystemMXBean))
>                             0.8))]
>                ^:replace [(str "-Xmx" mem-to-use)
>                           (str "-Xms" mem-to-use)
>                           "-server"
>                           "-XX:-TieredCompilation"
>                           "-XX:+AggressiveOpts"])

Thanks Fluid!

 -Lee

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to