Memory leak during updating position of tetrapoly elements
There exists sever memory leaking problem when using intermediate variables to update positions of tetraPoly in a loop:
running the code, the memory will keep leaking:
#
a = [[0,0,0]
O.bodies.
for i in range(1000000):
b = [[0,0,0]
O.bodies[
O.bodies[
O.bodies[
O.bodies[
O.bodies[
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask MikeZhao for more information if necessary.