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

Marian Krcmarik mkrcmari at redhat.com
Fri Mar 16 10:57:10 PDT 2012



----- Original Message -----
> From: "Marc-André Lureau" <marcandre.lureau at gmail.com>
> To: "徐舫" <xufango at gmail.com>
> Cc: "spice-devel" <spice-devel at lists.freedesktop.org>
> Sent: Friday, March 16, 2012 4:24:50 PM
> Subject: Re: [Spice-devel] [bug spice-gtk] spice-gtk memory leak
> 
> On Fri, Mar 16, 2012 at 10:27 AM, 徐舫 <xufango at gmail.com> wrote:
> > But the allocated memory does not free.
> 
> According to massif, the memory usage becomes stable, but your
> backtrace is correct, the biggest offender is image cache, which can
> top 150mb. I am not very familiar with the caching logic, so I can't
> say whether this can be tuned to limit to a given amount. It could
> also be that spice-gtk cache is buggy, because spicec seems to use a
> little bit less (50mb). But I do tests manually, so my empirical
> results may vary.
> 
> 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 :-/.
> 
> regards
> 
> --
> Marc-André Lureau
> _______________________________________________
> 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