[GH-ISSUE #9700] How to adjust the alive time of any model? #32094

Closed
opened 2026-04-22 13:01:42 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @yangtianzhen233 on GitHub (Mar 12, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9700

While monitoring memory usage, I observed that the large model continues to run for approximately 5 minutes after use. However, I only require it to run for a shorter duration. Is it possible to adjust this setting?

Originally created by @yangtianzhen233 on GitHub (Mar 12, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9700 While monitoring memory usage, I observed that the large model continues to run for approximately 5 minutes after use. However, I only require it to run for a shorter duration. Is it possible to adjust this setting?
GiteaMirror added the question label 2026-04-22 13:01:42 -05:00
Author
Owner
<!-- gh-comment-id:2718944866 --> @rick-github commented on GitHub (Mar 12, 2025): https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-keep-a-model-loaded-in-memory-or-make-it-unload-immediately
Author
Owner

@pdevine commented on GitHub (Mar 12, 2025):

Going to close this as answered (thank you @rick-github !)

<!-- gh-comment-id:2719039782 --> @pdevine commented on GitHub (Mar 12, 2025): Going to close this as answered (thank you @rick-github !)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#32094