Page 1 of 1

Garbage Collector breaks my program

Posted: Wed Jan 05, 2022 1:40 pm
by Ephreal
Hi

I have a custom build for a NIOS2 softcore architecture. I have run into a problem now, because the app keeps growing, that it stalls after the garbage collector has been executed either manually or automatically. I have a bit of a difficulty debugging why this is happening.
Also, I'm a bit unsure what version of micropython were are using. I know it was updated about a year ago.

I can also see that the GC is executed way before I run out of heap memory. like 25% usages or close to it.

Any insight would be appreciated.


Regards