"Not enough heap memory"


Author Message
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3751
Posted: 10:31pm 02 Apr 2026      

You were probably addressing Peter, but FYI, I haven't tested everything, but right now the programs appear to be working with just the 3 biggest arrays of structure given big enough dimensions that they are now going into PSRAM, as Peter suggested. I had to fiddle some to get it right.

It might have to be tunable by program. The database test program, us500, doesn't need it at all. PicoRR does.

I do fear it may be a continuing problem. Pico2s without PSRAM don't work for PicoRR--that was my first encounter with the heap error--but they do for the database application. I am hoping that growth of the application isn't too much restricted.