lmstudio-ai / lmstudio-ai/lmstudio-python
Return peak memory used in the stats
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 875
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
LMStudio already reports memory usage for models in the UI. Is it possible to return peak memory usage in the stats? It would be useful to know whether inference would fit on local machines.
Main reason I'm asking is that I'm benchmarking LMStudio vs MLX, and counting LMStudio-related process gives a distorted view of reality:

Thanks!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the SDK's stats response and how model memory metrics are exposed by LM Studio. Determine whether peak memory is available through the API, then add it to the returned stats and tests; done means callers can read peak memory usage without counting unrelated LM Studio processes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100