Hi folks, While trying webdav, a few issues came up related on memory usage in the server/host side. This series should help on spice side by defining a limit to the memory pool queue in the char-device. The memory pool can increase greatly after sharing big files with webdav. Besides establishing a limit to the memory pool, the third patch frees the memory pool queue after last client disconnect. This does not fix the problem entirely; massif shows some huge memory usage on QEMU as well and this should be further investigate. It also make sense to limit the amount of data that we keep in the write queue of char-device; At some point in the massif ouput the write queue reached 240M. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=91350 Victor Toso (3): char-device: fix usage of free/unref on WriteBuffer char-device: Define a memory pool limit char-device: free all memory pool when no clients server/char_device.c | 49 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 36 insertions(+), 13 deletions(-) -- 2.4.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel