Mimalloc vs dlmalloc #20936
Replies: 3 comments 23 replies
-
It could be a bug in mimalloc, or it could be existing memory corruption bug doesn't show up except under certain memory layout conditions. Can you try |
Beta Was this translation helpful? Give feedback.
-
After switching to |
Beta Was this translation helpful? Give feedback.
-
In a simple single thread test that allocates memory 10 MByte at a time I see with This could just as well be the documented worst case performance of +25% memory: https://microsoft.github.io/mimalloc/bench.html The emsdk version I used for the test was v4.0.0 With multithreading (23 threads): |
Beta Was this translation helpful? Give feedback.
-
A multithreaded application is causing memory access out of bounds with Mimalloc , but doesn't cause any issue with any other allocator like dlmalloc. I have enabled pthreads as well. What could be the possible reason of same?
Beta Was this translation helpful? Give feedback.
All reactions