5 ms·
jemalloc doesn't support non-Unix platforms (eg Windows). You may or may not be able to find a Windows port of any particular jemalloc version, but the develope
by TwoBit 10y ago
jemalloc doesn't support non-Unix platforms (eg Windows). You may or may not be able to find a Windows port of any particular jemalloc version, but the developers ignore Windows because they don't use it in their server software. We gave up using jemalloc on Windows because it was such a crap shoot.
- kbenson 10y agoThat sounds like a good basis for a "portable" version project. Other very targeted software (such as OpenSSH[1]) does this. I'm not sure what it takes to make jemalloc windows compatible, but even if the jemalloc developers don't want to support windows, it's possibly they might be more amenable to working with a project dedicated to portability in general. Also, my understanding is that Rust uses jemalloc, and Rust runs on windows, so what does Rust do? Just use a known good ported jemalloc version? 1: https://www.openssh.com/portable.html https://www.openssh.com/portable.html
- steveklabnik 10y agoWe don't use jemalloc on Windows, we use the system allocator, aka HeapAlloc.
- CyberDildonics 10y agoThere are already versions out there on github that have windows support built in, I've used it on windows. I also had problems with it however.
- jasone 10y agojemalloc does support Windows, and stability has improved dramatically in recent releases, primarily because we now have continuous integration coverage for several Windows configurations.