@Atak_Snajpera: could you please put this line at the beginning of the script?
SetLogParams("log.txt", LOG_DEBUG)
Then look into the generated file. When there are a lot of messages for shrinking caches, it can cause heavy slow down.
And another question: what are your speed numbers when you specify e.g. SetMemoryMax(2000) or SetMemoryMax(3000)?
|