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@xxxxxxxxxxxxxxxxxxxxx > http://lists.freedesktop.org/mailman/listinfo/spice-devel > _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel