ollama - 💡(How to fix) Fix Introduce some smart way to identify and cleanup unfinished downloads to avoid space wastage [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
ollama/ollama#15812Fetched 2026-04-26 05:06:05
View on GitHub
Comments
2
Participants
2
Timeline
3
Reactions
0
Participants
Timeline (top)
commented ×2labeled ×1
RAW_BUFFERClick to expand / collapse

Support ollama to prune unfinished downloads immediately.

As far as I can see, when restart Ollama.app, it will clean some parts but not completely.

85%->restart 75% -> restart 65% ...

I think if users are sure they don't want to resume the download, they should have the choice to clean it immediately. Rather than clean it through this invisible way.

extent analysis

TL;DR

Implement an option to immediately prune unfinished downloads in Ollama, allowing users to clean up incomplete downloads without relying on the current incremental removal process upon restarts.

Guidance

  • Introduce a user-accessible feature to manually trigger the pruning of unfinished downloads, ensuring users have control over when and how incomplete downloads are removed.
  • Consider adding a confirmation prompt to ensure users intentionally choose to delete unfinished downloads, preventing accidental data loss.
  • Review the current restart-based pruning mechanism to understand its logic and thresholds (e.g., why it removes downloads in increments like 85% to 75% to 65%) to inform the design of the new immediate pruning feature.
  • Evaluate the storage and performance implications of immediate pruning versus the current approach to ensure the new feature does not introduce unintended consequences.

Notes

The exact implementation details, such as how the pruning is currently handled upon restarts and how the new feature should be integrated into the user interface, are not specified and would require further investigation into Ollama's codebase and design documentation.

Recommendation

Apply workaround: Implement the immediate pruning feature as described, allowing users to have direct control over managing their unfinished downloads, which addresses the core issue of providing a user-friendly way to clean up incomplete downloads without waiting for the application's current removal process.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

ollama - 💡(How to fix) Fix Introduce some smart way to identify and cleanup unfinished downloads to avoid space wastage [2 comments, 2 participants]