LM Studio vs. Ollama Memory release after specific idle time
Posted in LocalLLama and realized this subreddit is likely more appropriate.
On Windows 11 I noticed after running Ollama with Llama3.1 8B and Qwen2.5 that Ollama is quite respectful system memory, but it unfortunately doesn't offload any workload to my GPU, so I tried LM Studio.
Using the same models LM studio does everything I need it to including GPU offloading. However, when run in headless mode and both models are loaded I noticed it will keep them in memory forever. I use this PC daily for other light tasks and having memory pegged at 100% is not ideal.
Am I missing a setting somewhere that helps with memory release? I already disabled "Keep in Memory" for my models before loading.
About this post
- Posted
- Archived
- Score
- 6 · 88% up
- Kind
- Text
- ID
- 1iah475
2 comments
Just checked the docs, check the “Idle TTL” argument
https://lmstudio.ai/docs/api/ttl-and-auto-evict
This is solved. I updated to the latest Beta yesterday and it had all this. Thanks!