mirror of
https://github.com/jkl1337/duplicacy.git
synced 2026-01-02 03:34:39 -06:00
Release the list of chunk hashes after processing each snapshot.
The chunk hash list isn't needed any more after being consolidated. Releasing it immediately after use helps reduce the memory usage.
This commit is contained in:
@@ -1668,6 +1668,8 @@ func (manager *BackupManager) CopySnapshots(otherManager *BackupManager, snapsho
|
||||
chunks[chunkHash] = true
|
||||
}
|
||||
}
|
||||
|
||||
snapshot.ChunkHashes = nil
|
||||
}
|
||||
|
||||
otherChunkFiles, otherChunkSizes := otherManager.SnapshotManager.ListAllFiles(otherManager.storage, "chunks/")
|
||||
|
||||
Reference in New Issue
Block a user