The camera example "failed to allocate required memory " on the raspberry pi

Hi, The camera example is giving a "failed to allocate required memory " error on the raspberry pi4.

Hello @okosa20d,

This is a memory allocation issue. Which is a bit weird considering you are running that on a Raspberry Pi. Which version of the RPi4 do you use?

Do you have many background tasks running at the same time?
Can you monitor your RAM usage while running your program (with top or htop for example) please?

Best regards,


I use the 4GB version.
I just switched to the python SDK and it works fine.