Thread Tools Display Modes
04-21-10, 09:13 PM   #1
jscd
A Kobold Labourer
Join Date: Mar 2009
Posts: 1
Nui memory

i have tried both NUI and NUI+. as im playing the game i can see addon utilizations. NUI of course is the biggest cause it has so much.. the issue i have is it constantly grows. ive let it go to see if it would stop. it got to 60mb usage and kept going. i then stopped it.

anyone else have this issue.
 
04-21-10, 11:11 PM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
It climbs to a level and then will drop down when the garbage handler gets rid of the garbage left behind. nUI just has a lot more to deal with. Scott is, I believe trying to cut down on how much there is with nUI 6.

I personally don't even notice it myself but I have titan and when I do spot it I do a manual garbage collection but I've let it go on for hours and watch it garbage collect itself. Not as often as I like but its dealable with
__________________
 
04-22-10, 03:09 AM   #3
Chmee
A Molten Giant
Join Date: Dec 2006
Posts: 960
No reasonably modern operating system should have any problem with nUI's (or any other properly coded addon's) memory usage.
 
04-22-10, 04:16 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
60meg is a drop in the bucket in modern software applications. nUI trades memory use for performance and nUI6 will optimize the memory use, as well, based on what I learned writing nUI5.

That said, I have no control over when garbage collection occurs... the Lua engine decides when to collect the garbage based on load on the engine, available memory, memory usage requirements, etc. It's a rather complex system and there's no way I can manually do it more efficiently than the engine does it itself.

In the end, you shouldn't care or worry about memory use. 60meg in a 4gig system is just 1.5% -- what you care about is CPU usage and GPU usage, both of which *do* impact performance.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
04-22-10, 11:03 AM   #5
Seer
A Molten Giant
Join Date: Dec 2007
Posts: 649
Btw, is WoW reporting in megabyte or megabit ? (Wouldn't be the first that uses MB when they mean Mb)
__________________
Take it as you want or leave it as it is.

Last edited by Seer : 04-22-10 at 12:15 PM.
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Nui memory

Thread Tools
Display Modes

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