Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Large File Downloads Are Inefficient Due to Temporary File Duplication #42

Open
a-ghorbani opened this issue Feb 13, 2025 · 1 comment

Comments

@a-ghorbani
Copy link

Description:

On Android, the package first downloads a file using a UUID-based temporary filename, and then moves it to the final user-specified destination after the download completes.

While this works fine for small files, it introduces storage issues for large files (e.g., 1GB+), since the file is duplicated in storage before reaching its final location.

For example, if the app needs to download a 3GB file, which is common for GGUFs, this requires at least 6GB of free space due to temporary storage usage. This can cause download failures on devices with limited storage.

@kesha-antonov
Copy link
Owner

Hi

Good point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants