← Back to team overview

yade-users team mailing list archive

Re: [Question #253112]: memory leakage when passing a variable from python to C++

 

Question #253112 on Yade changed:
https://answers.launchpad.net/yade/+question/253112

Bruno Chareyre proposed the following answer:
Maybe python is just never erasing the vector that you pass from fortran to c++. I remember it can happen sometimes than python is not releasing memory as you expect.
If this is the problem it will not be visible in the c++ code, and it will not be related to the bug mentionned by Anton.
Can you show how you assign the values in the script?

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.