recompile with a larger setting for MI_HEAP_REGION_MAX_SIZE #1308
Replies: 2 comments 1 reply
-
@bowmanjeffs It is not an error and just a warning. The memory allocation errors usually comes from:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks! In case it helps others I did recompile after editing the line referenced above to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm receiving the error:
mimalloc: warning: maximum regions used: 256 GiB (perhaps recompile with a larger setting for MI_HEAP_REGION_MAX_SIZE)
and am attempting to follow that guidance but am not certain where to change this setting. I see the variable defined in
ext/src/mimalloc/src/region.c
so my initial thought is to modify the default value there and recompile. Curious if anyone has tried this and that's sufficient, or if any other parameters should be changed to avoid the memory allocation error.Beta Was this translation helpful? Give feedback.
All reactions