Re: [Yade-users] [Question #290947]: Memory leak during updating position of tetrapoly elements

2016-04-15 Thread Jan Stránský
Question #290947 on Yade changed: https://answers.launchpad.net/yade/+question/290947 Jan Stránský proposed the following answer: In the newest trunk version b.shape.setVertices(v1,v2,v3,v4) should work without memory leaks cheers Jan 2016-04-15 10:23 GMT+02:00 Jan Stránský <

Re: [Yade-users] [Question #290947]: Memory leak during updating position of tetrapoly elements

2016-04-15 Thread Jan Stránský
Question #290947 on Yade changed: https://answers.launchpad.net/yade/+question/290947 Jan Stránský proposed the following answer: @Francois: it would be nice also for other state variables. Anyway, the most significant leaks takes place in O.bodies[0].shape.setVertices(b). Look at mentioned

Re: [Yade-users] [Question #290947]: Memory leak during updating position of tetrapoly elements

2016-04-15 Thread Anton Gladky
Question #290947 on Yade changed: https://answers.launchpad.net/yade/+question/290947 Anton Gladky proposed the following answer: Indeed, those two bugs should be merged. Anton 2016-04-15 8:03 GMT+02:00 Kneib François : > Question #290947 on Yade changed:

Re: [Yade-users] [Question #290947]: Memory leak during updating position of tetrapoly elements

2016-04-15 Thread Kneib François
Question #290947 on Yade changed: https://answers.launchpad.net/yade/+question/290947 Kneib François proposed the following answer: Hi Mike, This is a known bug: https://bugs.launchpad.net/yade/+bug/1041084 I wrote recently a couple of C++ functions as a temporary workaround for pos, vel, ori,

Re: [Yade-users] [Question #290947]: Memory leak during updating position of tetrapoly elements

2016-04-14 Thread Jan Stránský
Question #290947 on Yade changed: https://answers.launchpad.net/yade/+question/290947 Status: Open => Answered Jan Stránský proposed the following answer: Hi Mike, correct, please report a bug (such that we do not forget about it). Just now I am not able to say where it comes from.. cheers

[Yade-users] [Question #290947]: Memory leak during updating position of tetrapoly elements

2016-04-14 Thread MikeZhao
New question #290947 on Yade: https://answers.launchpad.net/yade/+question/290947 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],[0,0,1],[0,1,0],[1,0,0]]