Hi, I am porting an IoT software stack with micropython as a library. Currently looking into garbage collection. I am able to release most of the stuff except qstr pool which is created after executing mp_store_name. I execute this function to fill the class instance.
Any help in releasing this from memory?
qstr pool in memory not garbage collected
-
- Posts: 12
- Joined: Tue Sep 27, 2016 2:29 pm
Re: qstr pool in memory not garbage collected
Currently, I don't think that is any way to release the qstr memory. qstr's are shared, and the code that uses them just uses a qstr index.
So it would need a separate garbage collection phase.
So it would need a separate garbage collection phase.