diff --git a/swarm/storage/ldbstore.go b/swarm/storage/ldbstore.go index e83ecc03e4..2e1fe5316c 100644 --- a/swarm/storage/ldbstore.go +++ b/swarm/storage/ldbstore.go @@ -672,6 +672,7 @@ func (s *LDBStore) CleanGCIndex() error { if err != nil { return err } + batch.Reset() log.Debug("clean gc index pass", "batch", cleanBatchCount, "checked", i, "kept", len(idxs)) }