[Python.NET] Memory leak problem in function "AsManagedObject"

2016-01-15 Thread Eliana Mendes
sing the “AsManagedObject” function. It sounds to me that some objects are allocated inside the "AsManagedObject" method and they are not being released. Maybe it’s a bug there. Any ideas? I'm using latest version of python for .NET

Re: [Python.NET] Memory leak problem in function "AsManagedObject"

2016-01-18 Thread Eliana Mendes
yTuple[1]) > result1 = (double)item1.AsManagedObject(typeof(double)); > > myTuple.Dispose(); > > I would also use a using statement for the myTuple as well, just to be > sure dispose is called in the case an exception is thrown somewhere. > > Regards, > Tony > > > O

Re: [Python.NET] Memory leak problem in function "AsManagedObject"

2016-01-19 Thread Eliana Mendes
ke/pythonlibs/#pythonnet > > On Mon, Jan 18, 2016, 4:47 PM Eliana Mendes > wrote: > >> Hello Tony, >> >> >> >> Thanks a lot for your answer! I actually just got directly the >> “Python.Runtime.dll” from the download link in sourceforge: >> http://