microsoft / microsoft/snmalloc
Reserve and limit memory usage?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2k
- Forks
- 138
- Avg merge
- 11h 19m
- Merged PRs (30d)
- 5
Description
I'm seeing fantastic performance with snmalloc in a resource constrained environment.
MiMalloc has MIMALLOC_RESERVE_OS_MEMORY and MIMALLOC_LIMIT_OS_ALLOC. Is there any equivalent for snmalloc?
I wan't to improve the startup of my program that i know upfront will allocate a lot of memory. But I also want to limit request anymore memory from the OS simlar to MIMALLOC_LIMIT_OS_ALLOC
Thank you!
Contributor guide
No contributing guide indexed for this repository
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
No files, tests, or entry points are named. Start by locating snmalloc's existing OS-memory reservation and allocation paths, then determine whether equivalents to MiMalloc's MIMALLOC_RESERVE_OS_MEMORY and MIMALLOC_LIMIT_OS_ALLOC are feasible. Done means a clearly specified and tested way to reserve memory at startup and limit later OS requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100