PDA

View Full Version : /reload ruleset: Memory leak



Lithl
June 17th, 2009, 22:53
Yesterday, I added a bunch of tokens to my tokens/shared folder (~30MB of tokens).

Today, while working on my Exalted ruleset, I noticed my computer was running slowly, taking about 30s to open an XML file. I opened up the task manager and saw FG2 taking up over 1.2GB ram!

So, I tested. Hitting /reload ruleset without doing anything else in the program increased the memory usage of FG2 by about 100KB each time, and then held at the new value constantly, until I used /reload ruleset again.

On a hunch, I took everything out of tokens/shared (so now there are ZERO tokens available), and tried again. The memory usage still increased with each reload, but only by about 3KB each time.

Tenian
June 18th, 2009, 13:12
There is a command..... the short form is /image

This toggles how image data is updated. It may have an effect on tokens as well. I never really tried to quantify it.