Download
(2Kb)
Download
Updated: 09-07-07 01:05 PM
Pictures
File Info
Updated:09-07-07 01:05 PM
Created:unknown
Downloads:6,171
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
Unread 09-07-07, 06:49 PM  
Nefarion
A Defias Bandit
 
Nefarion's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 57
Uploads: 14
Originally posted by ckknight
Now you just gotta convince Slouken to include this in WoW 2.3 ;-)
Originally posted by Slouken (http://forums.worldofwarcraft.com/th...71465210&sid=1)
FYI, something along these lines is in for 2.3.
Woot.
Report comment to moderator  
Reply With Quote
Unread 09-07-07, 02:26 PM  
ckknight
A Warpwood Thunder Caller
 
ckknight's Avatar
AddOn Author - Click to view AddOns

Forum posts: 90
File comments: 95
Uploads: 15
Now you just gotta convince Slouken to include this in WoW 2.3 ;-)
Report comment to moderator  
Reply With Quote
Unread 09-07-07, 12:25 PM  
amazing
A Defias Bandit

Forum posts: 2
File comments: 2
Uploads: 0
thanks for this, will help me and many others alot. keep up the great work clad
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.