purpleprotocol / mimalloc_rust

A Rust wrapper over Microsoft's MiMalloc memory allocator
MIT License
503 stars 41 forks source link

Possible memeory leak #6

Closed Licenser closed 5 years ago

Licenser commented 5 years ago

Hi, first of all my apologies since this is going to start off as a terrible issue as pretty much all I can say is "it doesn't work" ... please bear with me non the less.

In an application, I'm working on (currently not open source :/) switching from jemalloc to mimalloc causes memory to grow until the system is shut down the process for OOM.

I'm not an expert at debugging those kinds of things, so I would love to get a few points on how to get data that will make this issue useful. So far all I can tell is switching from one to the other either introduces or removes the issue.

octavonce commented 5 years ago

@Licenser Hi, it is probably this bug, which is a bug in the microsoft mimalloc library itself: https://github.com/microsoft/mimalloc/issues/100

Licenser commented 5 years ago

Ohhh wow! thanks that's a good link, I should have thought about looking at the upstream tracker :/ sorry.

octavonce commented 5 years ago

@Licenser No worries. Will publish a new release when it is fixed upstream.

Licenser commented 5 years ago

Thank you!

Licenser commented 5 years ago

I don't think this was actually resolved, with 1.6 I'm still seeing the leaking behaviour.