While debugging increased memory footprint of Qemu (since qemu-kvm-1.2.0) I found some culprits in the VNC code. This series includes some first optimizations.
Peter Lieven (4): vnc: make the Buffer capacity increase in powers of two vnc: allow the Buffer to shrink again vnc-jobs: move buffer_reset to vnc_async_encoding_end vnc: destroy server surface if no client is connected ui/vnc-jobs.c | 3 +-- ui/vnc.c | 36 +++++++++++++++++++++++++++++++++--- 2 files changed, 34 insertions(+), 5 deletions(-) -- 1.9.1