How LUA memory works?
sorry for lame question
i mean in which part of ram it located? |
if game become laggy when lua memory reach 1gm size - is that mean it located to first part?
|
Lua consumption is integrated to ESO.exe process.
When you set the Memory size to XX MB ESO allocates XXMB to Lua and all this memory used (or not) by Lua core is used. So if you allocate 1GB for Lua and use only 50, it's 950MB lost for other things (C++ side of ESO, Windows, background process, etc). |
so in simple words - if more lua memory in use - less RAM for eso.exe(for system eso.exe needs, red 2 GB on the picture) process left... right?
any1 tried to use key in windows to force 32bit soft to use more than 2 gb ram? i mean /3GB and /USERVA but the *.exe also must be compilated with the key /LARGEADDRESSAWARE interesting, eso.exe compilated with /LARGEADDRESSAWARE or not? |
See: http://www.lua.org/manual/5.3/manual.html#4 section 4.8 - function: lua_Alloc
This is the backend API function of LUA to allocate and free memory in it's environment. So by looking at this interface we can see that really.. How LUA allocates memory is up to the host environment and not LUA. That is the ESO client in our case. ESO could use multiple different ways to manage the MAX LUA memory. - Just a running count of total bytes allocated. - Pre-allocate the requested LUA memory block and have lua_Alloc serve memory out of the block. So in summary. I don't know. |
Quote:
http://www.heaventools.com/PE-file-header_viewer.htm -> Characteristics -> 0x0020 edit: I checked eso.exe and it does have the flag Characteristics 0x122 executable large address aware 32 bit words edit 2: oh and btw, I'm playing on linux and eso.exe happily consumes 3.5GB of memory, at which point it freezes. So yes, it definitely knows how to use 3GB ;) |
ZOS announced 64-bit client with next DLC
but ESO already can use more RAM whats the differents then? |
32bits process can only use 2GB of ram
4GB is compiled with a certain flag Now it can use 16To. |
All times are GMT -6. The time now is 10:58 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI