Thread Tools Display Modes
Prev Previous Post   Next Post Next
08/06/14, 10:50 AM   #1
Sasky
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 231
LUA Memory Limit

Someone in my guild ran a diff of UserSettings.txt and noticed there is now a line for LUA memory limit:

Code:
SET LuaMemoryLimitMB "64"
Has anyone run into any issues yet or seen how close to the limit they're running?

For a rough estimate, my personal SavedVars folder is running around 10.5MB and 14MB in the addons folder. Most data-heavy addons seem to either pre-define the data (map pins) or pull and store the data in SavedVars (inventory, character info, guildmate info), so adding those would be a decent estimate.

EDIT: For an actual count, you can use this (or a variation):
Lua Code:
  1. /script d(math.ceil(collectgarbage("count")).." KB")

Last edited by Sasky : 08/07/14 at 02:57 AM.
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » LUA Memory Limit


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