View Single Post
  #3  
Old 07-22-2009, 05:06 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Quote:
Originally Posted by eqwarrior View Post
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.

Last edited by Derision; 07-23-2009 at 01:09 AM..
Reply With Quote