You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reconsider the switch to MADV_FREE by default in v2.1.2? #776
We're exploring using mimalloc for it’s “eager page purging”, i.e. We noticed that memory usage as reported by top (RSS), looks much more sensible, where previously it would remain high With the only remaining explanation being behavior of malloc ( some combination of fragmentation and caching of free blocks). We are not experts in C or allocators.
I noticed that between v2.1.1 and v2.1.2 the memory behavior of mimalloc in our application seems to change dramatically ( memory usage stays high). I think this is due to 0bb5cec .
For context, as far as I know all or most of our users monitor memory usage by looking at some version of the RSS value that top is reporting. I don't know how to properly monitor “real” memory usage vis-à-vis MADV_FREE, but even if that is straightforward, we have no say in how our users monitor the application, and so we need to adapt to them, even if it means a small performance hit.
my understanding of the issues here are limited to where it has been discussed in the context of Haskell, which you can read about here if you want:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 14 days. Thank you for your contributions!
This issue was closed because it has been inactive for 14 days since being marked as stale. Please feel free to reopen if this is still an active issue.
Activity
server: Use mimalloc in executables
server: Use mimalloc in executables
github-actions commentedon Jul 25, 2026
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 14 days. Thank you for your contributions!
github-actions commentedon Aug 11, 2026
This issue was closed because it has been inactive for 14 days since being marked as stale. Please feel free to reopen if this is still an active issue.