You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by zhangcheng <zh...@jike.com> on 2012/02/21 03:55:41 UTC

about the deep clone operation in the cassadra source code

When I read the cassandra code, there are too many deep clone operation. Is there any risk of OutOfMemoryException? When flushing the memtable to disk, there is a deep clone, and when the disk is slow down, this will lead to a severe OOM.

Am I right?

Thanks.

2012-02-21 



zhangcheng 

Re: about the deep clone operation in the cassadra source code

Posted by aaron morton <aa...@thelastpickle.com>.
You'll need to be a bit more specific and come up with some steps to reproduce a problem. 

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 21/02/2012, at 3:55 PM, zhangcheng wrote:

> When I read the cassandra code, there are too many deep clone operation. Is there any risk of OutOfMemoryException? When flushing the memtable to disk, there is a deep clone, and when the disk is slow down, this will lead to a severe OOM.
>  
> Am I right?
>  
> Thanks.
>  
> 2012-02-21
> zhangcheng