On Jan 9, 2014, at 8:18 PM, Gary Trakhman <gary.trakh...@gmail.com> wrote:
> From the other direction, tuning a super-fast GC occasionally is way more fun 
> than malloc/free!
> 
> I just found that enabling G1 was a quick hit for me.  When I run that many 
> clojure processes, some 700MB heaps mostly wasted at steady-state tends to 
> hurt.  As far as I can tell, there's no performance hit by doing so, and it 
> will be the default eventually.

FWIW, at World Singles, we were running our app servers (Tomcat 6 / Railo 3.3.4 
/ Clojure 1.5.1) with 4GB heaps on Java 6 and sometimes running into thrashing 
GC. We upgraded to Tomcat 7 / Railo 4 (same Clojure) and run with 8GB heaps now 
on Java 7 with the G1 collector and it has been wonderful :)

The JVM is a wonderful beast if you're not memory constrained.

Sean Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to