Repository navigation
mimalloc: warning: unable to directly request hinted aligned OS memory #112027
Description
Activity
- addedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or errortestsTests in the Lib/test dirTests in the Lib/test dir
on Nov 13, 2023 cc @DinoV
Can not reproduce the issue on macOS.
- changed the title
[-]AssertionError: 'mimalloc: warning: unable to directly request hin[119 chars]lloc' != 'mimalloc'[/-][+]mimalloc: warning: unable to directly request hinted aligned OS memory[/+]on Dec 11, 2023 The same issue occurs with the RISC-V architecture.
Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Is that Raspberry Pi hardware with 64-bit ARM CPU?
Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Is that Raspberry Pi hardware with 64-bit ARM CPU?
Yes, Cortex-A53 (ARMv8) 64-bit SoC @ 1.4GHz
Board: Raspberry Pi 3 Model B Plus Rev 1.3We should disable this warning. There's a few warnings from mimalloc that are emitted in debug mode that happen during normal operation and don't signify anything wrong. This is one of them.
- added a commit that references this issue
on Dec 21, 2023 I ran into this on Linux x86-64 today as well. It's not limited Raspberry Pi (arm64) or RSIC-V.
Most of the time mmap() will place the mapping at the suggested address, but not always. That's fine -- it doesn't lead to the allocation failing, mimalloc just falls back to a slightly slower path.
Reacted by Furkan Onder@furkanonder Please check that the issue is solved :)
@corona10 I checked, the problem seems to be solved. So I am closing the issue. Thanks @corona10 @colesbury
Reacted by Erlend E. Aasland
Bug report
Bug description:
Configuration:
Test Output:
Environment:
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs