Skip to content

Committed memory growing over time #814

@petrsm

Description

@petrsm

Hi !
We are using snmalloc in game engine, where we want both performance and memory efficiency. In our game, as
player moves through environment, lot of content is generated procedurally on worker threads. It is common,
that we allocate (quite big) chunks of memory on one thread, and then release it after while from different thread.
I observe following behavior: even if number of allocated bytes stays roughly same (around 6 GB) memory used by
snmalloc is constantly growing and is significantly higher : usually about 3 GB more and this value is increasing.
Now, question is : is this expected behavior ? Are there any configuration settings which can help us reduce committed
memory size ?

Thanks !
Petr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions