Lua Memory Limit Error
Would anyone be opposed to just removing this from the game?
|
Well, that depends - what happens if you blow past it? If it auto expands, then sure remove it. If it crashes the game or breaks addons then it should stay I suppose :D
The low (default) limit is aggravating to be sure. I upped mine to 1024 to get rid of the warnings. What's the max, hard limit (on the x64 binaries)? |
Quote:
If by removing it, we still can play smooth and not be spamed crashed by the limit, then no problem. Mine is set to 2048. |
The error is purely informative. Lua will keep growing its memory until the system runs out.
|
Well the limit is hardly a limit if it doesn't limit anything; may as well remove it.
|
I won't be opposed, I'm not really here anymore, and this thing was originally a good thing, but with certain addon, it clearly denotes something being overwhelmed.
But, I would enjoy a message still being present. Per exemple, use the notification Manager to warn user. " Lua Memory of the game is high. This error is generally triggerred by an intense usage of the computer memory by the extensions, if you experience slowdowns, please review your addons ". With maybe an event when memory hit 512MB (or 1GB if you really want to remove it from base game).. |
Quote:
So can the addon still function even if Zos remove the limit ? The comfort to play actually without to bother about it is way above all my expectations from Zos. Or can i still put my own number limit on the settings ? |
Quote:
|
Quote:
Maybe the client should auto logout on a real Lua "out of memory" exception with a messagebox in the login screen. Or the warning itself should keep being there, but adjusted to the real free system memory. ~2GB for the x86 client. And for x64 client: Most people have 16GB+ memory. The warning would come at ~13GB. And in this case it is really a warning and should be formulated like that. |
I don't mind it being removed, or maybe you could change it so it only shows up at a configurable percentage of the actual memory limit. Right now it is more annyoing than helpful.
As for what happens when you blaze past the limit, it looks like you will get an "Out of memory" lua error and the client will just crash a few seconds later, but don't ask me how that happened. :D |
So if i understand well the situation could be soon:
You are in raid, and suddenly message LUA memory and crash ? Wow that is a so good idea |
Quote:
During normal operation you won't ever get to the physical memory limit and crash because of it. That only happens when an addon does something it shouldn't do. Imagine you have a car and it flashes a warning when you reach a configured speed (e.g. 10km/h), but it could actually drive 300km/h without a problem. You would never get close to this limit when you just drive normally. Chip is asking if we mind if the configurable warning is removed as it doesn't have any real benefit. |
If memory management already auto-expands, the message as it is doesn't help. If it says "LUA memory default is lower than what's being used. We'll expand as needed, this is just a warning.
To get rid of this message, bump it up in 64k increments until the message goes away.", then maybe people won't freak out as bad. Just had a great idea - unlikely to be implemented though Memory usage normal/raid/dungeon Possible solution for mem crash/topout when you least expect it. MyAddon.txt ## TrialFriendly: Yes/No ; when absent, defaults to yes For addons like Master Merchant, AwesomeGuildStore, and others that take a huge amount of memory or processing, when you load into a trail, if any of your addons are TrialFriendly: No, a reloadui gets called to load a reduced set of addons (only use those that ARE TrialFriendly). When you exit the trial, it loads 'em all like normal. Since loading into a Trial, a lot of people turn off addons, it might be nice to give 'em a way to do it automagically. Or even a setting in usersettings.ini that has a list of addons to disable for trials. Sort of like stripping down a car for racing - get rid of all the weight you can to go faster :) |
OK i understand the reasonning but i still dont catch how it will affect me.
Before i used the LUA addon to put my limit lua to 2048, I often happened to have an automatic reloadui for that, and sometimes during very bad moment : quest boss, escaping a bad combat, delves, and the result was each time bad for my character. Actually with the addon, i never have to bother with it. So if ZoS remove the limit, i will have to deal again with the message and limit and then to found out which addon is doing the problem ? i guess for that i will need to load another addon ? or can i simply go into my inisettings and add a line like SET LuaMemoryLimitMB "2048" ? Thank you Quote:
|
I am telling you, it won't affect you as a normal user (this is a developer discussion btw. check which subforum you are in). The only thing you will notice, or not notice, is that you don't get meaningless low memory warnings anymore.
You won't have to reload your UI, you won't crash. Nothing will happen as long as you are not an addon dev doing stuff out of the ordinary. |
The error and the memory limit setting will be removed from the game when Morrowind launches.
|
Thanks and sorry. Perfect explanation
Quote:
|
Quote:
@Chip: Any way you can see how you could help with this? As for the original request: I'm good with disabling the popup and sending a system/error message instead. If you want it prominent, prioritise it like the server going down messages. Something like "LUA memory will be expanded from... to..., to disable this message, edit your UserSettings.txt and set..." |
Quote:
|
I see - hmm. I would love to be able to define contexts for AddOns. Let's use MasterMerchant as an example - I literally don't need it, unless I'm browsing the auction house or bag or displaying an item via tooltip, but it's doing Ihavenocluewhat in the background and causing my loading screens to explode. Or Srendarr, which I don't need when I'm not fighting.
Do I make sense? Not asking for an immediate solution of course, but maybe that's something that could use some thought - context trading, auctionhouse, ava, combat..? |
All times are GMT -6. The time now is 07:18 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI