letaureau / b-tk

Automatically exported from code.google.com/p/b-tk
0 stars 0 forks source link

Memory leak when using Matlab wrappers #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When acquisitions are read in Matlab, there seems to be no way to remove them 
from memory.  I am processing a series of several hundred c3d files and Matlab 
gives a memory error about 66% of the way through the processing.

I expected that there might be a btkCloseAcquistion class so that acquistions 
could be closed when i am done with them.

I built the b-tk Matlab wrappers from source code downloaded on 6/25/2010 i am 
using Matlab version 7.7.0 and Windows XP.

Original issue reported on code.google.com by bconr...@gmail.com on 16 Jul 2010 at 3:19

GoogleCodeExporter commented 9 years ago
You can use the function btkDeleteAcquisition to free the memory used. This 
information will be added in the Matlab tutorial. I let you try before closing 
this issue.

Original comment by arnaud.barre on 16 Jul 2010 at 8:10

GoogleCodeExporter commented 9 years ago
Your solution works for me.  Thank you for pointing out this function that i 
had missed.

Original comment by bconr...@gmail.com on 22 Jul 2010 at 5:18

GoogleCodeExporter commented 9 years ago

Original comment by arnaud.barre on 10 Aug 2010 at 3:54