memory leak with dct / idct function
Reported by Gilles Demange
Originally assigned to Paul BIGNIER
BUG DESCRIPTION:
----------------
When I perform multiple ( eg 10 000 000 ) calls ton the function dct, the ram memory keeps getting busier, untill it is full and so freezes the computer. I notice that each call to dct function (and idct) fills the ram memory. Yet, I tried to clear variables, etc... no effects.
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG:
-------------------------
this small loop is enough :
-------------------------------------
U= rand(32,32);
Nit=4000000;
for it =1:Nit
U=dct(U);
end
-------------------------------------
it wastes 30mega of the ram every second.
OTHER INFORMATION:
------------------