Re: get_range_slice leads to java.lang.OutOfMemoryError?

2010-04-02 Thread Benoit Perroud
A way to read all the db without having an OOM is to limit the amount of rows to be returned, and to iterate over the query, the starting key being the last returned key. Note that doing that way the first key of the next iteration is the same as the last key of the preivous iteration. The

Re: get_range_slice leads to java.lang.OutOfMemoryError?

2010-04-02 Thread Gautam Singaraju
Benoit, Thanks, that helped. I should have checked that one out before. --- Gautam On Fri, Apr 2, 2010 at 10:16 AM, Benoit Perroud ben...@noisette.ch wrote: A way to read all the db without having an OOM is to limit the amount of rows to be returned, and to iterate over the query, the