cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Internal error processing get_range_slices
Date Mon, 15 Aug 2011 13:23:33 GMT
The count you specify is the worst case, so if you can't even allocate
a List to handle it, you shouldn't be specifying such a high count.
Better find that out immediately, then when your data set grows in
production.

On Mon, Aug 15, 2011 at 8:15 AM, Patrik Modesto
<patrik.modesto@gmail.com> wrote:
> On Mon, Aug 15, 2011 at 15:09, Jonathan Ellis <jbellis@gmail.com> wrote:
>> On Mon, Aug 15, 2011 at 7:13 AM, Patrik Modesto
>> <patrik.modesto@gmail.com> wrote:
>>> PS: while reading the email before I'd send it, I've noticed the
>>> keyRange.count =... is it possible that Cassandra is preallocating
>>> some internal data acording the KeyRange.count parameter?
>>
>> That's exactly what it does.
>
> Ok. But is this pre-alocating really needed? Can't cassandra deduce
> that it doesn't need that much space?
>
> Regards,
> P.
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message