Reply
 
Thread Tools Display Modes
Old 07-04-14, 06:04 AM   #1
datgrl
A Deviate Faerie Dragon
Join Date: May 2009
Posts: 12
garbage collection via Titan Panel

When you force a garbage collection via left-click on Titan Panel, does this create a file somewhere?
I understand that 'garbage collection' is a process that runs in the wow client and TP only formats
the output on your panel. If you use the TP function, where is the 'garbage'? I'm having some issues
with fps and I want to be able to post what I'm seeing for support reasons.

Thanks in advance for any help you might have.
datgrl is offline   Reply With Quote
Old 07-04-14, 07:01 AM   #2
Duugu
Premium Member
 
Duugu's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 563
Originally Posted by datgrl View Post
When you force a garbage collection via left-click on Titan Panel, does this create a file somewhere?
I understand that 'garbage collection' is a process that runs in the wow client and TP only formats
the output on your panel. If you use the TP function, where is the 'garbage'? I'm having some issues
with fps and I want to be able to post what I'm seeing for support reasons.

Thanks in advance for any help you might have.
The "garbage" is memory (RAM) that was allocated by the wow client and that is not longer accessible by the wow client. Like placing your car keys in a drawer and forgetting which one it was. Drawer is occupied, but it's kind of useless.
The garbage collection process tries to find those "lost" memory areas and makes them available to applications like wow.

So, garbage collection means "deleting the content of a specific memory area and mark the area as 'free'". There are not "remains".
Duugu is offline   Reply With Quote
Old 07-04-14, 09:56 AM   #3
datgrl
A Deviate Faerie Dragon
Join Date: May 2009
Posts: 12
Good to know. Thanks!!
datgrl is offline   Reply With Quote
Old 07-04-14, 12:18 PM   #4
ravagernl
Macro Murloc mgrlglrgl!
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,139
Titan Panel has a garbage collection function because titan panel probably creates too much garbage anyway. I prefer LDB displays myself.
ravagernl is offline   Reply With Quote
Old 07-05-14, 02:42 AM   #5
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 526
TP *is* a LDB-Display
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Rilgamon is offline   Reply With Quote
Old 07-05-14, 11:53 AM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 9,526
Unless it's been rewritten, TP is a Titan display. But it has support for LDB plugins as well. While *technically* what you say may be true, I wouldn't exactly lump it in with the other LDB displays.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

Seerah is offline   Reply With Quote
Old 07-05-14, 09:45 PM   #7
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 3,969
You shouldn't need to manually trigger garbage collection. Lua will run it periodically on its own. If you're seeing your memory usage growing so fast that manually running garbage collection is actually helping, then some addon you're using is really, really badly written and you'll be better off replacing that addon, than manually clicking a button every 30 seconds for the rest of your WoW life.

Originally Posted by Rilgamon View Post
TP *is* a LDB-Display
It's not. It does have a "compatibility layer" so it can show LDB plugins -- though I'm not sure it supports the more esoteric properties like icon texture coordinates -- but it's primarily designed around its own API, and native Titan plugins are not compatible with LDB displays. The Titan API is completely unrelated, and completely awful... I wrote a few Titan plugins back in the day, and was more than happy to abandon them once FuBar and then LDB came along. Even from a user perspective I can't think of a single reason why anyone would use such a bloated and inflexible addon, when there are so many much more user-friendly LDB display addons, many of which you can even configure to look exactly like Titan Panel, if that vintage 2005 look really does it for you. You'd think the endless stream of people volunteering to maintain Titan Panel would get the hint when the previous developers keep quitting and nobody is writing Titan plugins anymore, but apparently not...
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline   Reply With Quote
Reply

Go BackWoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » garbage collection via Titan Panel

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