[Spice-devel] [bug spice-gtk] spice-gtk memory leak

Yonit Halperin yhalperi at redhat.com
Mon Mar 19 01:43:08 PDT 2012


On 03/16/2012 08:13 PM, Marc-André Lureau wrote:
>
>
> ----- Mensaje original -----
>>> Also, running spicy under valgrind leak check tool shows quite
>>> clearly
>>> that there is nothing being leaked directly from spice-gtk, it
>>> seems.
>> As I told you off-line, It happened to me that remote-viewer
>> (spice-gtk client) ended up in 1.3GB, Unfortunately I am not able to
>> reproduce but I am getting 400-500MB and massif does not show
>> anything to me :-/.
>
> Well, if you get 400Mb of resident memory, I would really like to see the massif profile, please send it!
> I couldn't get it above 350Mb here, from which>150Mb were image cache

Hi,

The default size of the cache is 80MB (20 Mega pixels). It shouldn't 
have reached >150MB. I've tracked the add/remove events from the cache, 
and it looks stable around 20 Mega pixels.
I don't manage to get more than 150MB resident memory for the remote-viewer.
Marian, can you describe how you manage to reach more the 400MB? 
Multiple monitors? How long was the remote viewer alive? What guest 
operations did you do? Does it happen if on the qemu side you set 
image-compression=quic (instead of auto-glz)?

Thanks,
Yonit.





> _______________________________________________
> 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