SofaPython3 icon indicating copy to clipboard operation
SofaPython3 copied to clipboard

Memory corruption with some data copy pattern

Open damienmarchal opened this issue 3 years ago • 1 comments

During our weekly coding sprint it was reported that this kind of pattern is failing:

with rootNode.mechanicalObject.position.writableArray() as w:
             w[0] = rootNode.otherObject.position.value[0]

Should be investigated quickly.

damienmarchal avatar May 06 '22 08:05 damienmarchal

Hello Damien, in my case I have a big "memory usage" growth and It is happening when I am moving objects in the scene using a similar code pattern. could this be related?

TaharChettaoui avatar Mar 01 '23 17:03 TaharChettaoui