performance: entire file content loaded into RAM -- no streaming for large files #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
FastSync loads entire file contents into memory before sending. This is visible in several locations:
This means:
For comparison, rsync can stream files with minimal memory overhead, especially when combined with compression.
Suggested Fix: Add a streaming send path for individual files that reads and sends in fixed-size blocks rather than loading the entire file. This would also enable streaming compression.
Severity: medium
performance: entire file content loaded into RAM — no streaming for large filesto performance: entire file content loaded into RAM -- no streaming for large files