Page 1 of 1

script memory issue

PostPosted: Sat Jan 16, 2016 1:11 pm
by dngrs
is there a way to set memory amount permanently? it resets to 48 every time i restart game

Re: script memory issue

PostPosted: Sat Jan 16, 2016 1:48 pm
by LYQ
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

Re: script memory issue

PostPosted: Sat Jan 16, 2016 2:15 pm
by Roadblock
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 :)

Re: script memory issue

PostPosted: Sat Jan 16, 2016 3:04 pm
by LYQ
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^^

Re: script memory issue

PostPosted: Sat Jan 16, 2016 3:36 pm
by Roadblock
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.

Re: script memory issue

PostPosted: Mon Jan 18, 2016 8:11 am
by dngrs
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