v3.3.1 — Emergency GC Fix
Fixes the freeze reported by users with heavy addon setups (60+ addons in raids).
What's Fixed
Emergency GC Spam Loop
- Problem: When Lua memory exceeded 200MB, emergency GC was triggered every frame, causing hundreds of full GC collections per second → complete freeze
- Fix: Raised threshold from 200MB to 300MB, added 2-second cooldown, and only triggers if memory actually grew 5MB+ since last call
GC Frame-Time Adjustment
- Added frame-time based GC pre-adjustment:
- Frame > 16ms (below 60 FPS) → reduce GC step by 50% to avoid further slowdown
- Frame < 8ms (above 120 FPS) → increase GC step by 50% to catch up on garbage
- Frame 8-16ms → normal step, no adjustment
Installation
Same as previous releases. Drop version.dll + wow_optimize.dll into your WoW 3.3.5a folder, or use wow_loader.exe.