Closed GoogleCodeExporter closed 9 years ago
After looking at this, I'm unable to find a memory leak.
The testing program seems to be triggering the ever increasing memory usage.
The outer loop is fetching previously written values, appending a random value
(variable random_val), writing that to the current batch, and at certain
intervals, writing the batch to the DB, and clearing the batch.
Problem is that the values in the current batch just keep growing.
Replacing the Put() operation with something like "batch.Put(key, (prev_val +
random_val)[:VALLEN])", seems to eliminate the issue.
Original comment by arnim...@gmail.com
on 16 Sep 2013 at 4:12
Original issue reported on code.google.com by
runesv...@gmail.com
on 28 Aug 2013 at 8:11Attachments: