[Python.NET] [Python for .NET] question: How to correctly clean up MemoryStream object
khg at power21.co.kr
Thu Feb 5 10:52:35 CET 2015
I have a MemoryStream created from Python (3.4)
*memory_stream = MemoryStream(data_size)*
and pass it to a C# library function to get data.
This definitely works. The problem is, python.exe's memory usage
increases over time.
Calling *memory_stream.Dispose()* and *memory_stream.Close()* doesn't help.
What am I missing?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PythonDotNet