Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-08-07, 12:21 PM   #1
philoubmx
A Murloc Raider
Join Date: Aug 2007
Posts: 6
Unhappy Memory optimization with UnitName, UnitMana ...

Hi everybody;

First, i would like that i'm french, so sorry for my poor english

I'm developping my own addon for raid management. I'have installed RessourceTool in order to check how many memory is used by my addon.
And i notice a strange behavior : when i use function like "UnitMana", "Unithealth", Unitxxx; the memory increased until the Garbage Collector do his job.

When i dont use Unitxxx, the memory addon is constant (about 100ko), when i use Unitxxx, the memory grows (about 500ko) and the descrease to 100kon, and then grows...etc

Somebody already notice it and know what to do ?
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » Memory optimization with UnitName, UnitMana ...


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off