Quantcast
Download
(10 Kb)
Download
Updated: 02-04-09 12:16 PM
Pictures
File Info
Updated:02-04-09 12:16 PM
Created:01-05-09 03:58 PM
Downloads:6,989
Favorites:57
MD5:

Broker Memory  Popular! (More than 5000 hits)

Version: 1.5
by: CyberOto [More]

Very simple LDB data source that display User Addon Memory Usage. The tooltip will show some more info for User, Default and Total Memory Usage.

Added some basic coloring based on player class and memory used.

Added options (in .lua file) for:
- showing addons memory usage list (default on)
- showing X addons in list (default 10)
- coloring addons memory usage list (default on)
- option to disable color coloring of memory usage
- option to show Total Memory Usage in LDB plugin (default on)

If you want to keep low memory usage, disable the addon memory usage listing.

If you want to keep it extra low - disable color coloring.

-----------------------
For those of you new to using LDB based plugins

You can find a great description, and links to more information here:

* http://forums.wowace.com/showthread.php?t=14903

P.S.
To display the addon you will need LDB Display addon like ButtonBin, Fortress, etc.

v 1.5
Tweaked code a bit more for better performance

v 1.4
Optimized some parts of the code
Added auto collect garbage function if addon is consuming more than 128 Kb (can be modified in .lua)

v 1.3
Added option to show Total Memory Usage in LDB plugin (default off)

v 1.2
Added options (in .lua file) for:
- showing addons memory usage list (default on)
- showing X addons in list (default 10)
- coloring addons memory usage list (default on)
- option to disable color coloring of memory usage

v 1.1
Initial release
Optional Files (0)


Archived Files (4)
File Name
Version
Size
Author
Date
1.4
10kB
CyberOto
01-31-09 02:22 AM
1.3
10kB
CyberOto
01-13-09 02:45 AM
1.2
10kB
CyberOto
01-11-09 07:16 AM
1.1
10kB
CyberOto
01-05-09 03:58 PM


Post A Reply Comment Options
Unread 09-21-09, 08:23 PM  
Jexx
A Deviate Faerie Dragon

Forum posts: 10
File comments: 114
Uploads: 0
Getting this error when clicking the button to force a garbage collection:

Message: Interface\AddOns\Broker_Memory\core.lua:110: Usage: GameTooltip:SetOwner(frame)
Time: 09/21/09 21:21:48
Count: 1
Stack: [string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:18: in function <[string "Interface\FrameXML\BasicControls.xml:<Scrip..."]:4>
[C]: ?
[C]: in function `SetOwner'
Interface\AddOns\Broker_Memory\core.lua:110: in function `OnEnter'
Interface\AddOns\Broker_Memory\core.lua:138: in function `OnClick'
Interface\AddOns\ChocolateBar\Chocolate.lua:216: in function <Interface\AddOns\ChocolateBar\Chocolate.lua:213>

Locals: (*temporary) = GameTooltip {
updateTooltip = 0.06599999293685
0 = <userdata>
comparing = false
shoppingTooltips = <table> {
}
}
(*temporary) = nil
(*temporary) = "ANCHOR_TOPRIGHT"
Report comment to moderator  
Reply With Quote
Unread 05-31-09, 08:49 AM  
Cambria
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
[16:41:45] Interface\AddOns\Broker_Memory\core.lua:110: Usage: GameTooltip:SetOwner(frame)
[C]: ?
[C]: in function `SetOwner'
Interface\AddOns\Broker_Memory\core.lua:110: in function `OnEnter'
Interface\AddOns\Broker_Memory\core.lua:138: in function `_onclick'
Interface\AddOns\ButtonBin\ButtonBin.lua:260: in function <Interface\AddOns\ButtonBin\ButtonBin.lua:257>

I get this error when I click Broker_Memory on ButtonBin to force GarbageCollection.
I'm using the current Broker_Memory 1.5, ButtonBin r67 and the enGB client. I tried deactivating everything but ButtonBin and Broker_Memory but I still got the same error.
Report comment to moderator  
Reply With Quote
Unread 03-21-09, 07:49 AM  
CyberOto
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 44
Uploads: 2
Originally posted by Kuzah
I was trying to not color it by class so I changed "enableColoring" to false but that didn't do the trick. Do you know which line does the coloring by class?
Sorry for late reply - comment line 19 to disable class coloring.
Report comment to moderator  
Reply With Quote
Unread 03-15-09, 10:04 AM  
Kuzah
A Murloc Raider

Forum posts: 9
File comments: 38
Uploads: 0
I was trying to not color it by class so I changed "enableColoring" to false but that didn't do the trick. Do you know which line does the coloring by class?
Report comment to moderator  
Reply With Quote
Unread 03-09-09, 08:12 AM  
Kerecha
A Deviate Faerie Dragon
 
Kerecha's Avatar

Forum posts: 10
File comments: 200
Uploads: 0
Originally posted by CyberOto
Will have to test it with fortress. So far no such error with buttonbin.

About garbage collection in chat - comment line 80.
To change update period - edit line 1.
okay, thanks, will play around with that a bit and hope i dun break anything
Report comment to moderator  
Reply With Quote
Unread 03-08-09, 04:57 AM  
CyberOto
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 44
Uploads: 2
Originally posted by Kerecha
having an error popping every now and then.

[14:11:10] Interface\AddOns\Broker_Memory\core.lua:110: Usage: GameTooltip:SetOwner(frame)
[C]: ?
[C]: in function `SetOwner'
Interface\AddOns\Broker_Memory\core.lua:110: in function `OnEnter'
Interface\AddOns\Broker_Memory\core.lua:138: in function `OnClick'
Interface\AddOns\Fortress\Core.lua:216: in function <Interface\AddOns\Fortress\Core.lua:203>


not sure if i should put it here or in fortress.


And plz, is thyere anyway to make it shut up about garbagecollection in chat?

Also, is there any way to make the LDB display update more frequently?
Will have to test it with fortress. So far no such error with buttonbin.

About garbage collection in chat - comment line 80.
To change update period - edit line 1.
Report comment to moderator  
Reply With Quote
Unread 03-06-09, 07:25 AM  
Kerecha
A Deviate Faerie Dragon
 
Kerecha's Avatar

Forum posts: 10
File comments: 200
Uploads: 0
having an error popping every now and then.

[14:11:10] Interface\AddOns\Broker_Memory\core.lua:110: Usage: GameTooltip:SetOwner(frame)
[C]: ?
[C]: in function `SetOwner'
Interface\AddOns\Broker_Memory\core.lua:110: in function `OnEnter'
Interface\AddOns\Broker_Memory\core.lua:138: in function `OnClick'
Interface\AddOns\Fortress\Core.lua:216: in function <Interface\AddOns\Fortress\Core.lua:203>


not sure if i should put it here or in fortress.


And plz, is thyere anyway to make it shut up about garbagecollection in chat?

Also, is there any way to make the LDB display update more frequently?
Last edited by Kerecha : 03-06-09 at 08:22 AM.
Report comment to moderator  
Reply With Quote
Unread 02-04-09, 12:17 PM  
CyberOto
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 44
Uploads: 2
Originally posted by Toran
So, the stuttering was fixed? I spent about 3 hours the other day trying to figure it out. Ended up this addon as the culprit and had to remove. If all is good now, I'm all in again!
It seem so. Uploaded new ver that have some more tweaks for better performance.
Report comment to moderator  
Reply With Quote
Unread 02-03-09, 07:16 PM  
Toran
A Nerdscale Dorkin
 
Toran's Avatar
Premium Member

Forum posts: 142
File comments: 433
Uploads: 0
So, the stuttering was fixed? I spent about 3 hours the other day trying to figure it out. Ended up this addon as the culprit and had to remove. If all is good now, I'm all in again!
Report comment to moderator  
Reply With Quote
Unread 02-03-09, 04:27 AM  
CyberOto
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 44
Uploads: 2
Originally posted by Oakayam
I had the same issue as ChaosInc. 1.4 seems to be working fine.


I have a question. The ' MiB' text is in yellow color. Is there a way to change it to something else? I changed the text color in my LDB display addon but it doesn't seem to aply to your addon.
For the LDB display no special colouring is used for MiB / KiB text. You can check function memformat (line 28) for some colour tweaking.
Report comment to moderator  
Reply With Quote
Unread 02-02-09, 02:23 PM  
Oakayam
Premium Member
 
Oakayam's Avatar

Forum posts: 40
File comments: 136
Uploads: 0
I had the same issue as ChaosInc. 1.4 seems to be working fine.


I have a question. The ' MiB' text is in yellow color. Is there a way to change it to something else? I changed the text color in my LDB display addon but it doesn't seem to aply to your addon.
__________________
Report comment to moderator  
Reply With Quote
Unread 01-31-09, 12:34 AM  
CyberOto
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 44
Uploads: 2
Originally posted by ChaosInc
This is causing my game to stutter every second or so. I'm assuming bad throttling for "OnUpdate".
Just tested the addon and ButtonBin only - did not noticed any stutter. Can you try to run the game with LDB Display addon and Broker_Memory addon only?

Edit:

Tested it a bit more with handful addons and there is a small hiccup every now and then.

Will do some more testing.

Edit 2:
Optimized a bit the code in v 1.4 to fix the hiccup. Looking good at the moment.

Could you try it when it is approved and provide some feedback?
Last edited by CyberOto : 01-31-09 at 02:25 AM.
Report comment to moderator  
Reply With Quote
Unread 01-29-09, 11:29 PM  
ChaosInc
Curse staff
 
ChaosInc's Avatar
AddOn Author - Click to view AddOns

Forum posts: 670
File comments: 368
Uploads: 21
This is causing my game to stutter every second or so. I'm assuming bad throttling for "OnUpdate".
__________________
Originally posted by Mirrikat45
so says the 1/2 million downloads per week.......
Impossible statistics = FAIL!! But don't point this out, or your post will be deleted!
Report comment to moderator  
Reply With Quote
Unread 01-19-09, 05:21 AM  
Diungo
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
the memory-unit (the MiB text) should be the suffix of your ldb feed, not appended to the text.
Report comment to moderator  
Reply With Quote
Unread 01-19-09, 04:38 AM  
CyberOto
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 44
Uploads: 2
Originally posted by Alfuin
Broker Memory won't show on my UI. Does not seem to be any conflicts, it just does not show. I can not access it via any slash commands, nor via the interface menu... I guess it is sort of click or hover over the stats frame shown in your image, but that is not showing anywhere, unless hidden behind other frames... Would it be too much to ask for a minimap button (or titan/fubar)?
It require LDB display plugin like DockingStation, ButtonBin (more available too). There are no slash commands available. Do not plan to add titan/fubar support.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: