You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ node_modules/oxlint/bin/oxlint
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
memory allocation of 56 bytes failed
This is because jemalloc hardcodes the max system page size at build time, and on arm64 systems, that might not be 4kb like it is on CI; in particular, Asahi Linux & Raspberry Pi OS use a 16k page size.
Other projects have resolved this by compiling jemalloc on arm64 to use a 16k page size, e.g. see fd's change which just does export JEMALLOC_SYS_WITH_LG_PAGE=16 before the build.
The text was updated successfully, but these errors were encountered:
On Asahi Linux, the binaries on npm crash:
This is because jemalloc hardcodes the max system page size at build time, and on arm64 systems, that might not be 4kb like it is on CI; in particular, Asahi Linux & Raspberry Pi OS use a 16k page size.
Other projects have resolved this by compiling jemalloc on arm64 to use a 16k page size, e.g. see fd's change which just does
export JEMALLOC_SYS_WITH_LG_PAGE=16
before the build.The text was updated successfully, but these errors were encountered: