WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Technical Support (https://www.wowinterface.com/forums/forumdisplay.php?f=92)
-   -   nUI+ and Grid (https://www.wowinterface.com/forums/showthread.php?t=32263)

calidril 05-01-10 08:17 PM

nUI+ and Grid
 
I just installed nUI+, it looks awesome, good job.

My question is do we have to install grid and gridraidicons for raid frams or does nUI+ already include those features.

Xrystal 05-01-10 11:47 PM

nUI+ has raid frames and are clique friendly if you use that to heal. You don't have to use other addons to heal :D But it does work with grid, healbot and vuhdo if you are used to them :D

I personally use grid but others use the others as well. Just a personal preference suited to the way you heal.

calidril 05-02-10 01:31 AM

don't have any healing toons (rogue, hunter, dk, and lock) so that is not an issue. Raid icons is for BQ especially.

I also noticed that nUI+ seems to take up a lot of memory, when i checked it was at 20mb and another time at 30mb and climbing.

Why is it taking so much memory and it increases then decreases (20-30mb is a lot.)?

BTW, i'm on a "gaming" laptop running windows 7.

Xrystal 05-02-10 04:29 AM

It's the way Scott has been creating the information tables during game play. The trashman does come by occasionally though and take the unused data away and thus releases the memory that unused data was taking up. Unfortunately you don't have much control over when that happens from what I understand.

Scott is working in a more robust and trashman friendly environment for version 6. The changes for version 5 would be too extensive to incorporate in an existing codebase.

If you have something like titan panel with the memory info on display you can manually release it if that makes it more comfortable for you. I'm fortunate enough not to notice any gameplay problems whether its at 10mb or at 50mb so sometimes I don't even know that it has climbed that high. From memory though it doesn't usually climb much higher than 50mb before it drops back down again.

spiel2001 05-02-10 05:26 AM

Let me start by saying the 20meg of memory is diddly. It's less than 1% of memory and, as I have stated in other threads, programmers often trade more memory use for better performance (i.e... often it's faster to store things in memory and reuse them than to have to build them from scratch again and again, etc.)

The reason the memory climbs up and then falls back is related to how dynamic memory works. In Lua, when you're done using a memory object, you don't delete allocated space like you do in other languages (a la C++ delete or C free) == you just dereference the memory object and the Lua engine decides when to do the garbage collection that returns that memory to the heap.

So, over time, as nUI creates and dereferences dynamic memory objects, you see the memory usage climb though nUI isn't actually using as much memory as is being reported since it has dereferenced much of it. When the Lua engine fires the garbage collector, then you see nUI's memory usage fall down to what it is actually using at the time.

That said... 20meg is a drop in the bucket. Especially when you consider that nUI is doing the combined jobs of a large collection of mods... unit frames, action bars, aura timers, cooldown timers, and so on.

I wouldn't worry about addon memory usage unless and until it exceeds 100meg.

Either way, the important thing to remember is that memory usage is not a measure of performance. CPU usage is.


All times are GMT -6. The time now is 12:28 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI