[GH-ISSUE #5048] Add 'free' command, to free the currently running model out of memory. #65227

Closed
opened 2026-05-03 20:04:24 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Dalibor-P on GitHub (Jun 14, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5048

Add a new command, possibly ollama free, to immediately free the currently running model out of memory, instead of waiting the default five minutes, as an alternative to keep alive parameter. Additionally, add the option into the context menu of ollama taskbar icon, next to view logs and quit ollama buttons.

Originally created by @Dalibor-P on GitHub (Jun 14, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5048 Add a new command, possibly `ollama free`, to immediately free the currently running model out of memory, instead of waiting the default five minutes, as an alternative to `keep alive` parameter. Additionally, add the option into the context menu of ollama taskbar icon, next to `view logs `and `quit ollama` buttons.
GiteaMirror added the feature request label 2026-05-03 20:04:24 -05:00
Author
Owner

@jamiabailey commented on GitHub (Jun 18, 2024):

This can be achieved by sending an updated request with the keep-alive set to 1 second.

<!-- gh-comment-id:2176574186 --> @jamiabailey commented on GitHub (Jun 18, 2024): This can be achieved by sending an updated request with the keep-alive set to 1 second.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#65227