Quote:
Originally Posted by eqwarrior
Is it possible there is a memory leak in one of my quest files for anguish? There are about 17 bosses in there with scripted events.
|
If you are running Linux and suspect a memory leak, install valgrind, move a character to anguish and boot that zone with this script:
Code:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
valgrind --log-file=valglog --leak-check=full --show-reachable=yes ./zone anguish
Then run around triggering your scripts for a while, camp out and then CTRL-C the zone and you should have a text file called valglog.<processid> detailing where the memory leaks are occurring. Post it here or PM it and I'll take a look.
You don't want to do this on a 'live' server as valgrind adds a substantial overhead because of all the checking it does.