Download
(2Kb)
Download
Updated: 09-07-07 01:05 PM
Pictures
File Info
Updated:09-07-07 01:05 PM
Created:unknown
Downloads:6,185
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-10-07, 07:48 PM  
Cralor
Mmm... cookies!!!
 
Cralor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 772
File comments: 313
Uploads: 5
Another wonderful addons by Cladhaire!!

Just downloaded, will try it out tommorrow.
__________________
Never be satisfied with satisfactory.
Report comment to moderator  
Reply With Quote
Unread 11-13-07, 03: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?
Report comment to moderator  
Reply With Quote
Unread 11-13-07, 04:12 PM  
Cladhaire
Salad!
 
Cladhaire's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1935
File comments: 4940
Uploads: 19
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..."
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.