On Saturday, July 6, 2013 4:01:31 PM UTC-4, tbc++ wrote: 
>
> Go blocks are GC'd but not until they complete running. The problem is 
> that you're creating go blocks faster than they can run. Creating go blocks 
> is very cheap, taking/putting into channels is also cheap but not quite as 
> cheap. Therefore the outer loop will eventually allocate so many blocks 
> that you're run OOM.
>
> Timothy
>  
>
Looking at the oom heap dump, the ManyToManyChannel instances have deeply 
nested graphs via LinkedBlockingQueue$Node instances. Seems that the 
problem is not just rapid allocations.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to