cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Stepura (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6260) Cassandra 2.0.1 OutOfMemoryError: Requested array size exceeds VM limit
Date Wed, 30 Oct 2013 19:17:26 GMT

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

Mikhail Stepura commented on CASSANDRA-6260:
--------------------------------------------

[~jbellis] Should we validate that key size is under 64K? (http://wiki.apache.org/cassandra/FAQ#max_key_size)


> Cassandra 2.0.1 OutOfMemoryError:  Requested array size exceeds VM limit
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6260
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6260
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Cassandra server 2.0.1
>            Reporter: Prateek
>            Assignee: Mikhail Stepura
>            Priority: Minor
>             Fix For: 2.0.3
>
>         Attachments: cassandra-2.0-6260.patch
>
>
> I am running cassandra 2.0.1 server with cascading client https://github.com/ifesdjeen/cascading-cassandra/
(v 1.0.0-rc6). I am running a problem on restarting one of the nodes in the cassandra cluster.
All other nodes in the cluster started properly without any issues. I had originally assigned
8G of RAM to heap space. I tried starting the node with 12G of RAM but it still fails with
the following error. This is currently blocking a production release so appreciate your quick
response.
> [(bloomreach-ami) ubuntu@ip-10-179-26-169 :/mnt/cassandra_latest]# ERROR 20:55:58,738
Exception encountered during startup
> java.lang.OutOfMemoryError: Requested array size exceeds VM limit
>         at org.apache.cassandra.utils.ByteBufferUtil.read(ByteBufferUtil.java:394)
>         at org.apache.cassandra.utils.ByteBufferUtil.readWithLength(ByteBufferUtil.java:355)
>         at org.apache.cassandra.service.CacheService$KeyCacheSerializer.deserialize(CacheService.java:352)
>         at org.apache.cassandra.cache.AutoSavingCache.loadSaved(AutoSavingCache.java:119)
>         at org.apache.cassandra.db.ColumnFamilyStore.<init>(ColumnFamilyStore.java:267)
>         at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:411)
>         at org.apache.cassandra.db.ColumnFamilyStore.createColumnFamilyStore(ColumnFamilyStore.java:383)
>         at org.apache.cassandra.db.Keyspace.initCf(Keyspace.java:314)
>         at org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:268)
>         at org.apache.cassandra.db.Keyspace.open(Keyspace.java:110)
>         at org.apache.cassandra.db.Keyspace.open(Keyspace.java:88)
>         at org.apache.cassandra.db.SystemKeyspace.checkHealth(SystemKeyspace.java:474)
>         at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:226)
>         at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:442)
>         at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:485)
>  INFO 20:55:58,739 Initializing system.schema_triggers
> java.lang.OutOfMemoryError: Requested array size exceeds VM limit
>         at org.apache.cassandra.utils.ByteBufferUtil.read(ByteBufferUtil.java:394)
>         at org.apache.cassandra.utils.ByteBufferUtil.readWithLength(ByteBufferUtil.java:355)
>         at org.apache.cassandra.service.CacheService$KeyCacheSerializer.deserialize(CacheService.java:352)
>         at org.apache.cassandra.cache.AutoSavingCache.loadSaved(AutoSavingCache.java:119)



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

Mime
View raw message