Space Rocks 3D!

It’s a bit hard to find specifications, but it appears that the Meowbit has 96kB RAM, compared to 192kB RAM on the PyGamer? I suspect that it’s running out of memory and struggling with garbage collection to make room. While I have tried to reuse data structures across frames, the program still doing a fair amount of on-the-fly allocation of small arrays.

Are there good resources to help investigate memory usage? I found the Memory Tools in MakeCode Arcade thread, but my brief experiments with trying to get console output from the PyGamer had been unsuccessful. Profiling memory says that the heap snapshot doesn’t track strings or numbers, and much of the program’s data is numbers…

@ggiscool, I like your dashboard, but I worry that adding a fullscreen image (~10kB each) may make it even harder for this to fit on hardware.

2 Likes