Re: Clojure memory usage

2014-01-27 Thread Anurag Ramdasan
That sounds good. I am running openjdk1.7. I havent tried the tools yet but I would give it a shot. I quite like the idea of pedestal and dont want memory issue to be a reason for me to not use it. Thanks, - Anurag Ramdasan. On Sun, Jan 26, 2014 at 4:13 AM, Sean Corfield wrote: > On Jan 25, 20

Re: Clojure memory usage

2014-01-25 Thread Sean Corfield
On Jan 25, 2014, at 2:32 PM, Cedric Greevey wrote: > You might want to use the G1 collector (JVM opt UseG1GC) if you're using Java > 7 as I've heard that the G1 collector gives memory back to the OS more > readily than the other options. My experience with Java 7 and the G1 collector in product

Re: Clojure memory usage

2014-01-25 Thread Cedric Greevey
You might want to use the G1 collector (JVM opt UseG1GC) if you're using Java 7 as I've heard that the G1 collector gives memory back to the OS more readily than the other options. On Sat, Jan 25, 2014 at 1:55 PM, Jarrod Swart wrote: > This was talked about here: > https://groups.google.com/for

Re: Clojure memory usage

2014-01-25 Thread Jarrod Swart
This was talked about here: https://groups.google.com/forum/#!searchin/clojure/user$3A$20g$20vim/clojure/XqPGnX5aSAI/PoLYaydgX3cJ TLDR: The JVM carves out its own chunk of memory from the OS. It then uses very advanced and finely tuned means to manage said memory. So even though the app isn't