[SLDEV][VWR] Viewer Memory Manager

Palmer Truelson (Zen Linden) palmer at lindenlab.com
Mon Jul 14 09:19:41 PDT 2008


Sheet Spotter wrote:
>
> The Viewer Roadmap includes a “Viewer Memory Manager” project with a 
> “Fix Viewer Memory Leaks” deliverable.
>
> http://wiki.secondlife.com/wiki/Viewer_Roadmap
>
> http://wiki.secondlife.com/wiki/Viewer_Memory_Manager
>
> Has there been progress on the Viewer Memory Manager?
>
> Is there an opportunity to contribute to this initiative?
>
Figured I could give a quick update.

We tried tcmalloc for a bit in windows, but we have not come up with a 
solution for a bug tcmalloc has when built in release mode in VC8 where 
it fails its own unit tests. I've left a report of it on the google perf 
tools' homepage, and I'm hoping Craig or one of the other google folks 
takes a look. By all means, take a look and see if you can get tcmalloc 
to run in release mode in VC8. You would have at least my undying 
gratitude. :)

However, I did port (possibly a little hackily... I need to clean it up) 
their profiler to windows. The client runs at about 5 fps, and there are 
some image loading problems, but we are investigating a leak we found 
that appears to be coming from some GL drivers, though it's a little 
hairy to pin down and we're waiting to hear back from ATI.

I'm unfortunately not focused on this project right now as the crash 
reporter is keeping me busy, but others are, and we'd love to hear if 
you come up with anything useful.

Also, we haven't tried heap layers, nedmalloc, or any of the other 
memory managers du jour yet, so if you get some promising results, 
especially backed up by data, we'd love to hear it.

Zen


> Sheet Spotter
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/SLDev
> Please read the policies before posting to keep unmoderated posting privileges



More information about the SLDev mailing list