Download
(2 Kb)
Download
Updated: 09-07-07 01:05 PM
Pictures
File Info
Updated:09-07-07 01:05 PM
Created:unknown
Downloads:5,436
Favorites:43
MD5:
GCTweak  Popular! (More than 5000 hits)
Version: r2
by: Cladhaire [More]
GCTweak is a small utility that will help keep your memory usage lower, by assisting the garbage collection system in World of Warcraft. Anytime your framerate is higher than the setting (30 by default) this addon will force the garbage collection system to continuing marking and deallocating objects. This will only happen when you are not in combat, and can be disabled and customized from the commandline.

/gctweak /gctweaker /gct:
/gct toggle - Toggles GCTweaker on or off
/gct <num> - Enables aggressive garbage collection above <num> frames per second
/gct debug - Toggles debug messages

You should set the FPS value to your "normal" frame rate to get the best performance. The addon is very careful to only take action when necessary, and never does anything during combat.

Please test this addon, and report back to me with your results (especially if you see a noticeable drop in frame rate, or memory usage). I've tested the addon quite a bit, and it has a very noticeable effect in resolving burst situations.

Thanks to Krka for talking through all the garbage collection issues, and pushing the idea of periodic collection.

TLDR Version:

Lua's incremental garbage collector only marks and deallocates in response to new allocations. As a result, the system can get into a deficit that makes it difficult to complete a full garbage collection cycle. In order to resolve this, I've created an addon which runs the garbage collection system periodically during system downtime to ensure you don't have an outstanding deficit of memory waiting to be collected.

Changelog:
Code:
2007-09-07 [r2]  artifici:

	* GCTweak.lua: * Small optimization suggested by ckknight

2007-09-07 [r1]  artifici:

	* GCTweak.lua (added), GCTweak.toc (added): * Initial import of
	  GCTweak
Post A Reply Comment Options
Old 09-10-07, 07:48 PM  
Cralor
Mmm... cookies!!!
 
Cralor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 767
File comments: 321
Uploads: 7
Another wonderful addons by Cladhaire!!

Just downloaded, will try it out tommorrow.
__________________
Never be satisfied with satisfactory.
Cralor is offline Report comment to moderator  
Reply With Quote
Old 11-13-07, 02:51 PM  
Somnifer
A Defias Bandit

Forum posts: 2
File comments: 22
Uploads: 0
Would I still gain some benefit from using this addon, or is this the 2.3 GC improvements?
Somnifer is offline Report comment to moderator  
Reply With Quote
Old 11-13-07, 03:12 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
WoWInterface Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 1931
File comments: 4476
Uploads: 18
Originally posted by Somnifer
Would I still gain some benefit from using this addon, or is this the 2.3 GC improvements?
Pending testing, this is no longer necessary. One more addon I don't need to update.
__________________
"There's only one thing that I know how to do well and I've often been told that you only can do what you know how to do well, and that's be you-- be what you're like-- be like yourself. And so I'm having a wonderful time, but I'd rather be whistling in the dark..."
Cladhaire is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.