1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 00:07:25 +00:00
restic/internal/archiver
Michael Eischer 4a10ebed15 archiver: reduce memory usage for large files
FutureBlob now uses a Take() method as a more memory-efficient way to
retrieve the futures result. In addition, futures are now collected
while saving the file. As only a limited number of blobs can be queued
for uploading, for a large file nearly all FutureBlobs already have
their result ready, such that the FutureBlob object just consumes
memory.
2022-07-23 14:45:07 +02:00
..
archiver.go archiver: reduce memory usage for large files 2022-07-23 14:45:07 +02:00
archiver_test.go archiver: unify FutureTree/File into futureNode 2022-07-23 14:45:07 +02:00
archiver_unix_test.go
archiver_windows_test.go
blob_saver.go archiver: reduce memory usage for large files 2022-07-23 14:45:07 +02:00
blob_saver_test.go archiver: reduce memory usage for large files 2022-07-23 14:45:07 +02:00
buffer.go
doc.go
file_saver.go archiver: reduce memory usage for large files 2022-07-23 14:45:07 +02:00
file_saver_test.go archiver: reduce memory usage for large files 2022-07-23 14:45:07 +02:00
scanner.go archiver: remove unused fileInfo from progress callback 2022-07-23 14:16:23 +02:00
scanner_test.go archiver: remove unused fileInfo from progress callback 2022-07-23 14:16:23 +02:00
testing.go
testing_test.go
tree.go
tree_saver.go archiver: Incrementally serialize tree nodes 2022-07-23 14:45:07 +02:00
tree_saver_test.go archiver: Incrementally serialize tree nodes 2022-07-23 14:45:07 +02:00
tree_test.go