https://bugs.winehq.org/show_bug.cgi?id=52763
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- diff --git a/dlls/kernelbase/memory.c b/dlls/kernelbase/memory.c index 21e7c5ef9d9..f974a4085ca 100644 --- a/dlls/kernelbase/memory.c +++ b/dlls/kernelbase/memory.c @@ -607,7 +607,7 @@ struct mem_entry
C_ASSERT(sizeof(struct mem_entry) == 2 * sizeof(void *));
-#define MAX_MEM_HANDLES 0x10000 +#define MAX_MEM_HANDLES 0x8000 static struct mem_entry mem_entries[MAX_MEM_HANDLES]; static struct mem_entry *next_free_mem = mem_entries;
By applying patch that caused regression step by step, i found decreasing MAX_MEM_HANDLES like something above fixes the bug for me.
Remi, could you shed a light on this bug? Thanks