You didn't mention whether this was on the free tier or a paid dyno. I would 
expect the paid dynos to not be as heavily provisioned and could possibly 
alleviate this. 

---
Daniel

> On 17/06/2014, at 5:47 am, Brian Marick <mar...@exampler.com> wrote:
> 
> We have a small Clojure app on Heroku that performs backend tasks for a Rails 
> app. Low traffic (like a request a minute). Heap is 400M. We've been having 
> long (10 sec) GC pauses using both the default and G1 GC (both untuned). 
> Browsing our logs today, I found: 
> 
>     [GC pause (young) 156M->36M(400M), 56.0281380 secs]
> 
> A minute for GC seems... excessive.
> 
> Our other Clojure apps also have GC problems.
> 
> 1. Is this something peculiar to Heroku? Clojure in small-memory 
> environments? I have very little experience with non-Clojure java apps, but a 
> coworker says: "I've run JVMs with +20g heaps, and *never* seen 10s pauses, 
> let alone a whole f%#^$ing minute".
> 
> 2. Is there lore about appropriate GC tweaks for Clojure backend server apps? 
> 
> --------
> Latest book: /Functional Programming for the Object-Oriented Programmer/
> https://leanpub.com/fp-oo
> 
> -- 
> 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.

-- 
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