Daan
Daan
It reserves a large block ahead of time; but if the `commit` parameter is `false`, the memory is just "reserved" as virtual address space so it has no cost (and...
To clarify more, if we just want to limit the amount of OS memory allocated, we can still do something simpler, like keeping track of totally allocated memory and start...
Ah, right, errno should be set. Thanks!
Thanks for the report. This is caused by recursive allocation when mimalloc calls `sysconf(_SC_PHYS_PAGES);` (in `src/prim/unix/prim.c:153`) (and on your Linux this calls `fopen` which allocates itself :-( ). If you...
I think this is fixed now in the latest `dev`, `dev2`, `dev3` -- can you confirm?
I think the warning is due to reading the atomic directly -- I added a `mi_atomic_load_relaxed` -- hopefully that fixes the warning? Let me know. (I am always hesitant to...
:-( One workaround is to define `MI_USE_RTLGENRANDOM` at build time; like `cmake ../.. -DMI_EXTRA_CPPDEFS="MI_USE_RTLGENRANDOM=1"`. (see `src/prim/windows/prim.c:607`)
Yikes -- thanks for the report. Strange that it happens with both v2 and v3, and not on ubuntu. Thanks for the repo -- if I find time I will...
Good to see v3 does much better as v2; I guess because it doesn't occur on Linux it must be something system specific, like an allocation in a thread that...
I tried to compile from your repo (awesome that you constructed this! maybe we can use it a standard benchmark in the future). I first got an error to use...