loadShape freezes Raspberry Pi

I could get LattePanda working after increasing the max memory to 3 GB. (Preferences > Running > Increase max available memory to 3000 MB). The LattePanda has 4 GB RAM.

Unfortunately, it did not work with the Raspberry Pi. It has 1 GB RAM and I set the max available memory to 900 MB. I even tried 1000 MB.

Note: The obj file is only 5.5 MB.

According to the Task Manager (Windows 10), Processing opened 2 windows: the sketch window was taking up 500 MB RAM and the other (for running the sketch) 1.9 GB RAM. So, it made sense that Raspberry Pi 3B+ did not work.

It’s safe to conclude that the issue was lack of RAM. I don’t have Raspberry Pi 4 with at least 4GB. I can confirm this once I have tested it. For now, I’ll stick with the LattePanda.