cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Goffinet (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-896) GC issues with LinkedBlockingQueue, very large heap sizes
Date Thu, 18 Mar 2010 03:24:27 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12846726#action_12846726
] 

Chris Goffinet commented on CASSANDRA-896:
------------------------------------------

JDK7 b85 does have this fix. As discussed with jbellis, I will try ArrayBlockingQueue. 0.5
with NIO used ConcurrentLinkedQueue

> GC issues with LinkedBlockingQueue, very large heap sizes
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-896
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-896
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6
>            Reporter: Chris Goffinet
>            Assignee: Chris Goffinet
>             Fix For: 0.6
>
>         Attachments: Screen shot 2010-03-14 at 10.19.09 PM.png, Screen shot 2010-03-14
at 10.20.31 PM.png
>
>
> We were doing a large import over thrift today (250M rows) with 50 columns each. We noticed
when this process started, that the heap usage slowly began to rise. Eventually hitting 10GB.
After investigating heap dumps we noticed this is linked to GC problems in the JVM for LinkedBlockingQueue.
Sending a hint through jconsole to perform GC didn't help either.
> See this article:
> http://tech.puredanger.com/2009/02/11/linkedblockingqueue-garbagecollection/
> JDK  1.6.18 doesn't have this fix yet either. We could possibly add the change from:
> http://svn.apache.org/repos/asf/harmony/standard/classlib/trunk/modules/concurrent/src/main/java/java/util/concurrent/LinkedBlockingQueue.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message