Tuesday, January 30, 2024

[SOLVED] Polars jemalloc Error 'Unsupported system page size'

Issue

When using polars to create a df on a raspberr pi, I get the following error:

<jemalloc>: Unsupported system page size
memory allocation of 8 bytes failed
Aborted

The works on my Laptop, and on both machines I have the same page size:

getconf PAGE_SIZE
16384

Do you have any idea whats the actual issue and how I can solve it?


Solution

rebooting with kernel=kernel8.img in /boot/config.txt changes memory page size from 16kB to 4kB and seems to resolve the issue. getconf PAGESIZE will show the current memory page size.



Answered By - rpi5_user
Answer Checked By - Terry (WPSolving Volunteer)