Possible Duplicate:
memory allocation in matlab
I was searching for solving a memory leak problem in C project which calls a DLL generated from MATLAB, and I found this link. Are what is written in that link is true? Can any one explain it in some details?
My memory leak problem in some details is when I call a function in the dll for the first tile in a loop, every thing is great, for the rest some amount of memory is leak and it is not accumulate for example:- before calling the function for the fist one memory has 2000 MB
free for the second time it has 1800 MB
free. It is reasonable to be 1600 MB
after the third calling, but it is still 1800 MB
free and still 1800 MB
for the rest of the program. why it is not increasing !!
I am using windows 7 x86 as an OS, MatLab 2011a, Thank you