View Single Post
08-08-07, 01:07 PM   #3
philoubmx
A Murloc Raider
Join Date: Aug 2007
Posts: 6
Hi,

This this the function i use :

function My_UnitMana(unitid)
return UnitMana(unitid) or "";
end

...
And i call it like this :

table.insert(tmpmess, tostring(My_UnitMana(unit)));


If i replace my function by this (for test):
function My_UnitMana(unitid)
--return UnitMana(unitid) or "";
return 1;
end

the memory is constant.

I understand that Unitxxx use memory, but i dont understand why it growing ...

(Petite parenthese : salut l'ami ! en esperant que mon anglais ne soit pas trop mauvais ! Je prefere repondre en anglais histoire de respecter la langue du forum )

Last edited by philoubmx : 08-08-07 at 02:16 PM.
  Reply With Quote