[Spice-devel] spice-gtk / remote viewer leaks (gobs of) memory - possibly related to animated mouse cursor?

Marc-André Lureau mlureau at redhat.com
Tue May 6 03:04:36 PDT 2014


Hi

----- Original Message -----
> 
> On 05/05/2014 04:10 PM, Marc-André Lureau wrote:
> > Hi
> >
> > ----- Original Message -----
> >> Any way to easily trace memory leaks in remote-viewer?  A naive attempt
> >> at "valgrind remote-viewer spice://blah" didn't turn up anything in
> >> particular.
> > Have you tried with massif? It usually gives pretty good hints.
> 
> Here is "ms_print" output. I've never used massif before, is this helpful?

This massif profile doesn't show a large memory usage or any obvious leak.

Are you looking at virtual or resident (RSS) memory usage? (remember that
only RSS really "count")


> During this test, I have a desktop I've been logged into all day, but
> for the test, I disconnected remote-viewer, ran remote-viewer with
> massif and ran a "webdriver" test with google-chrome.  It hit a few
> dozen pages with a few seconds wait time with each page.  I wiggled the
> mouse cursor over the page as this happened.  Memory usage according to
> 'ps' exceeded 1.2GB by the end of the test (with valgrind/massif
> overhead, of course). Then I exited remote-viewer.
> 
> Anything else you want?
> 
> Thanks,
> David
> 
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list