incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schuller <peter.schul...@infidyne.com>
Subject Re: Calculate memory used for keycache
Date Mon, 14 Mar 2011 21:19:48 GMT
> How is it possible calculate this value? I think that key size, if we use
> RandomPartitioner will 16 bytes so keycache will took 16*(num of keycache
> elements) bytes ??

The easiest way right now is probably empirical testing. The issue is
that the "memory use" must include overhead associated with the data
structures involved, as well as longer-term effects like fragmentation
in old-space in the GC (similarly to malloc/free).

-- 
/ Peter Schuller

Mime
View raw message