In pymat_put() the function call to mxDestroyArray
(lArray) is commented out. This causes a memory leak
when sending a large amount of data. I came across
this when using python to access a large database of
images and send them to Matlab for processing.
Log in to post a comment.