Bug 49695 - qemu-kvm was killed for oom with SPICE, but works normally with VNC
Summary: qemu-kvm was killed for oom with SPICE, but works normally with VNC
Status: VERIFIED FIXED
Alias: None
Product: Spice
Classification: Unclassified
Component: server (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-09 09:50 UTC by Fu Qiang
Modified: 2014-10-29 08:03 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Fu Qiang 2012-05-09 09:50:19 UTC
qemu 1.0.1
spice 0.10.1

In ubuntu 12.04, I compiled qemu 1.0.1 with spice 0.10.1, and the guest os is windows xp sp3, with spice guest tool 0.1. I playing movie in guest os, use spicec to connect to guest, and found that the qemu continously use more and more memory, and finally all memory was allocated, then qemu was killed for oom.

cmd line: kvm -m 1024 -hda hd.img -cdrom xpsp3.iso -net nic -vga qxl -spice port=5900,disable-ticketing

spicec -h 127.0.0.1 -p 5900

I found this problem in Fedora 16, and 17 beta. Then I download the latest code, make build, and the memory leak still exist. If you start qemu with vnc instead of spice, it runs normally, and no memory leak occured.
Comment 1 Fu Qiang 2012-05-09 19:13:50 UTC
today, I've tried qemu-1.0.1 with spice 0.8.3, it works well without memory leak.
Comment 2 Fu Qiang 2012-05-09 19:41:02 UTC
But there is memory leak in qemu-1.0.1 with spice-0.9.1.
Comment 3 Marc-Andre Lureau 2014-10-24 16:58:24 UTC
Can you reproduce with latest releases? thanks
Comment 4 Fu Qiang 2014-10-29 08:03:38 UTC
Verified in CentOS 6.5 with qemu-kvm 0.12.1.2-2.415 and spice 0.12.4-6.

It is fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.