[Opensim-dev] Profiler installed on osgrid plazas server and profiler dump now available

Justin Clark-Casey jjustincc at googlemail.com
Fri Feb 22 22:00:00 UTC 2008


This afternoon (with a bit of haxoring) I installed the mono heap-shot 
profiler on the OSGrid plazas server in pursuit of current memory 
leaks.  heap-shot will take a dump while in operation when it receives a 
signal.  More details on it can be found here.

http://www.mono-project.com/HeapShot

Now that it's installed it's very easy to run, if anyone with access to 
the plazas wants to take further dumps.

I started the profile on Wright Plaza with just me on it.  
Interestingly, that was enough to cause memory to continuously grow.  
This was associated with continuous requests for the same assets (which 
do not exist) on the console.  This in itself, though bad, should not be 
enough to cause the memory leak.  I took several dumps, the smallest of 
which (along with the log file) can be downloaded from

http://opensimulator.org/dump/OpenSim-at-595mb-one-avatar-with-scripts-wright.zip

On a very preliminary analysis of the dump, it looked like the major 
problem is data building up in the outgoing texture packet queue.  This 
is why I created extra statistical information which prints out the 
number of packets in the different queue types for each agent (which can 
be seen by typing 'show stats' on the console).  Hopefully this should 
reveal whether this is really where the issue is (I'm not yet convinced 
I'm interpreting the dump information correctly).

I very probably won't have any time now to work on this until next week 
- I thought I would make the data available for general interest and in 
case anyone wanted to take a shot at it.

--
justincc



More information about the Opensim-dev mailing list