[Spice-devel] Memory leak in spice server

Charles.Tsai-蔡清海-研究發展部 charles.tsai at cloudena.com
Thu May 10 02:33:34 PDT 2012


Yonit,

	I will let you know after we verify it.
	Thanks.

-----Original Message-----
From: Yonit Halperin [mailto:yhalperi at redhat.com] 
Sent: Thursday, May 10, 2012 5:31 PM
To: Charles.Tsai-蔡清海-研究發展部
Cc: Alon Levy; spice-devel at lists.freedesktop.org
Subject: Re: [Spice-devel] Memory leak in spice server

Hi,

I think I found a memory leak. The *first* buffer that was given as an output buffer to the mjpeg encoder when encoding a frame, wasn't released when it was replaced by a bigger buffer.

Can you check if the attached patch helps?

Thanks,
Yonit.

On 05/10/2012 05:52 AM, Charles.Tsai-蔡清海-研究發展部 wrote:
> Alon,
>
> 	Recently, we found a severe memory leak in Spice server when we kept playing video on guest OS.
> 	After several days, memory was totally used and Spice server crashed. I am not sure whether your team found the similar
> 	problem before or not.
>
> 	The current Spice server we are running is from is 0.10.0 release. Let us know if you have found such a problem before.
> 	Thanks.


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