benji icon indicating copy to clipboard operation
benji copied to clipboard

Bug: high ram usage during `benji rm`

Open FedericoHeichou opened this issue 1 year ago • 0 comments

Describe the bug

If you have a big version (like 20 millions of rows), benji will use too much ram while performing the moving of those rows from blocks to deleted_blocks

To Reproduce

Just create a big version (you can just add junk into blocks table for that version) and run benji rm for that version.

Additional context

I will submit a PR

FedericoHeichou avatar Mar 29 '24 11:03 FedericoHeichou