Thread Tools Display Modes
03/10/17, 03:11 AM   #1
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Garbage Collection in ESO Lua

The default values of pause and step multiplier in ESO are 100 and 10.
The Lua default of step multiplier is 200 and values less than 100 are not recommented.

From Lua Reference:
"The step multiplier controls the relative speed of the collector relative to memory allocation. Larger values make the collector more aggressive but also increase the size of each incremental step. Values smaller than 100 make the collector too slow and can result in the collector never finishing a cycle. The default, 200, means that the collector runs at "twice" the speed of memory allocation."

@Chip: I'm sure you (ZOS) did not do that for no reason.
Is there something important we should know of?
Why are the values as they are?

Last edited by votan : 03/10/17 at 04:21 AM.
  Reply With Quote
03/10/17, 10:26 AM   #2
Solinur
AddOn Author - Click to view addons
Join Date: Aug 2014
Posts: 78
Would this also effect the "count" option to not reliably detect collectable memory?

I guess if you don't allocate memory more than 10% of the time it shouldn't be an issue and rather smoothen things out if I understand correctly.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Garbage Collection in ESO Lua

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