Red Hat Bugzilla – Bug 821334
Memory leak in video streaming
Last modified: 2012-06-20 08:17:35 EDT
Description of problem:
When spice streams a video, the memory of qemu process increases due to a memory leak in spice server (in mjpeg_encoder.c).
Play a movie in the guest. Preferably, an high resolution video.
E.g., play in repeat mode the "Wildlife In HD" movie that comes with Windows7 guests. After several minutes you can see that the qemu memory usage increases.
Created attachment 584269 [details]
Fix for the memory leak part1
Created attachment 584270 [details]
Fix for the memory leak part2
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
No documentation needed
Created attachment 585438 [details]
I've encountered a qemu segfault during verification of this bug, backtrace is already attached. I'm not sure if it is caused by fixes for this bug though.
Re-reading the bugs again, this bug is fixed and segfault should probably be handled in bug #813826.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.