Skip to content

Reserve and limit memory usage? #655

@richarddd

Description

@richarddd

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions