You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tom van den Berge (JIRA)" <ji...@apache.org> on 2013/10/18 10:48:49 UTC

[jira] [Commented] (CASSANDRA-5706) OOM while loading key cache at startup

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

Tom van den Berge commented on CASSANDRA-5706:
----------------------------------------------

I'm having this problem again since I've upgraded to 1.2.10.

> OOM while loading key cache at startup
> --------------------------------------
>
>                 Key: CASSANDRA-5706
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5706
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Fabien Rousseau
>            Assignee: Fabien Rousseau
>             Fix For: 1.2.7
>
>         Attachments: 5706-OOM-while-loading-key-cache-at-startup.patch, 5706-v2-txt
>
>
> Steps to be able to reproduce it :
>  - have a heap of 1Gb
>  - have a saved key cache without the SSTables
> When looking at KeyCacheSerializer.serialize : it always writes a Boolean
> When looking at KeyCacheSerializer.deserialize : no Boolean is read if SSTable is missing...
> In case of a promoted index, RowIndexEntry.serializer.skip(...) should be called rather than RowIndexEntry.serializer.skipPromotedIndex(...) (again for symmetry between serialization/deserialization)
> Attached is a proposed patch



--
This message was sent by Atlassian JIRA
(v6.1#6144)