You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite the workaround, I think it is worth that Taichi could do some garbage collection. In the example above, it should be easy to figure out that the Container instance created in one loop will not be used any more.
The text was updated successfully, but these errors were encountered:
Currently, Taichi does not seem to reclaim unusable fields.
For example, the following code can easily lead to OOM.
And this could be solved by calling
ti.init()
multiple times:Despite the workaround, I think it is worth that Taichi could do some garbage collection. In the example above, it should be easy to figure out that the
Container
instance created in one loop will not be used any more.The text was updated successfully, but these errors were encountered: