script memory issue

script memory issue

by dngrs » Sat Jan 16, 2016 1:11 pm

is there a way to set memory amount permanently? it resets to 48 every time i restart game
Shtefan - undead warlock - 60
User avatar
dngrs
Sergeant
Sergeant
 

Re: script memory issue

by LYQ » Sat Jan 16, 2016 1:48 pm

go in your WTF folder and edit the Config.wtf file and search for the line saying
SET scriptMemory "x"

modify it there, eg
SET scriptMemory "512000"

then test if that value still gets resetted if you save it like that
LYQ / Virose
Talentsaver (viewtopic.php?f=63&t=15429) - Totemtimers Enhanced (viewtopic.php?f=63&t=24422)
NostalriusAcceptTrade (viewtopic.php?f=63&t=31729)
User avatar
LYQ
Sergeant Major
Sergeant Major
 

Re: script memory issue

by Roadblock » Sat Jan 16, 2016 2:15 pm

Nitpicking I know, WoW uses [K|M|G]iB 1024 bytes instead of 1k
So for 512mb script memory you need to put 524288, 262144 for 256mb, 131072 for 128mb etc :)
Astaldo @ Nostalrius PvE (Alliance)
Addons I've posted on Forum
User avatar
Roadblock
Senior Sergeant
Senior Sergeant
 

Re: script memory issue

by LYQ » Sat Jan 16, 2016 3:04 pm

Roadblock wrote:Nitpicking I know, WoW uses [K|M|G]iB 1024 bytes instead of 1k
So for 512mb script memory you need to put 524288, 262144 for 256mb, 131072 for 128mb etc :)


that's correct.
But it's not that I intended to use 512mb,
for this explanation I looked up what the command and the value is that I've setup in my file and apparently when I setup my wow client I raised the mb maximum from 48MB to 500MB and 500*1024 = 512000 :D
so it's just a lucky coincidence with the numbers, since I surely didn't raise my maximum by the .wtf file like I suggested before - it worked for me simply how it was meant to be^^
LYQ / Virose
Talentsaver (viewtopic.php?f=63&t=15429) - Totemtimers Enhanced (viewtopic.php?f=63&t=24422)
NostalriusAcceptTrade (viewtopic.php?f=63&t=31729)
User avatar
LYQ
Sergeant Major
Sergeant Major
 

Re: script memory issue

by Roadblock » Sat Jan 16, 2016 3:36 pm

Well you know what they say (Ass)umption makes an Ass out of you and I was certainly guilty of that here :D

On-topic:
I have it at 256mb and I'm an Addon-Holic, never seen it go over 120mb in-game .
Maybe I'll need the breathing room later in large group content though, I'll think about increasing it more; system ram is abundant nowadays.

To OP: If it doesn't stick with LYQ's trick you could try setting the config.wtf file to read-only (right-click properties), you'll need to remember to revert that change if you want to changes settings at some point though.
Astaldo @ Nostalrius PvE (Alliance)
Addons I've posted on Forum
User avatar
Roadblock
Senior Sergeant
Senior Sergeant
 

Re: script memory issue

by dngrs » Mon Jan 18, 2016 8:11 am

LYQ wrote:go in your WTF folder and edit the Config.wtf file and search for the line saying
SET scriptMemory "x"

modify it there, eg
SET scriptMemory "512000"

then test if that value still gets resetted if you save it like that


doesnt work

it doesnt remember the command, it remembers if i readonly but it still doesnt work ingame
Shtefan - undead warlock - 60
User avatar
dngrs
Sergeant
Sergeant
 


Return to Addons & macros