ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Garbage Collection in ESO Lua (https://www.esoui.com/forums/showthread.php?t=6889)

votan 03/10/17 03:11 AM

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?

Solinur 03/10/17 10:26 AM

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.


All times are GMT -6. The time now is 01:26 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI