Skip to content

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.

6 points2 comments
Open on Reddit
About this post
Posted
Archived
Score
6 · 88% up
Kind
Text
ID
1iah475

Author

12
posts
222
comments
0
media
View profile

2 comments

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.