Open damienmarchal opened 7 years ago
I will give it a look for 17.06
the best ref on the topic I found so far: http://arctrix.com/nas/python/gc/ besides the official doc: https://docs.python.org/2/extending/newtypes.html#supporting-cyclic-garbage-collection
I will not give it a look before 19.06
Hye @damienmarchal will this be fixed by SofaPython3 ?
Not magically/
Not magically/
@damienmarchal It seems that this issue still exists in SofaPython3 apparently? It would be better to raise this problem in the own github repository: https://github.com/sofa-framework/SofaPython3/issues
If it is still the case, I will "backport this issue to the SofaPython3 tracker
The C++ script controller object is not destroyed (the destructor is not called). The python part (the script content) neither (probably because the we need to decrement the python reference).
The two are causing memory leaks.