Closed andreamah closed 1 year ago
jemalloc supported larger page sizes in https://github.com/jemalloc/jemalloc/pull/769/files. Seems that they set max page size to 16K for M1 macs. https://github.com/jemalloc/jemalloc/blob/54eaed1d8b56b1aa528be3bdd1877e59c56fa90c/configure.ac#L1694
Seems that I didn't set the env var correctly, this still happens.
From https://github.com/microsoft/vscode/issues/179907
Since we started using musl to build linux-aarch64, it uses jemalloc, which doesn't support page sizes above 4K.