Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active memory not released immediately #2630

Open
benstadin opened this issue Apr 1, 2024 · 1 comment
Open

Active memory not released immediately #2630

benstadin opened this issue Apr 1, 2024 · 1 comment

Comments

@benstadin
Copy link

I want to release active memory as soon as possible. However with the following configuration there is a huge difference (factor 8) between active and allocated memory. Is there another option to enforce immediate release of memory other than what I've already configured? I'm using jemalloc v 5.3.0 on alpine linux 3.19.

My current setting:
MALLOC_CONF="narenas:1,background_thread:true,dirty_decay_ms:0,muzzy_decay_ms:0,retain:false,stats_print:false"

@guangli-dai
Copy link
Contributor

Looks like a fragmentation to me. You may want to explore the malloc stats to trace where the fragmentation comes from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants