Re: [pve-devel] [PATCH qemu 2/2] backup: trim heap after finishing

2023-08-14 Thread Wolfgang Bumiller
On Mon, Aug 14, 2023 at 11:21:33AM +0200, Fiona Ebner wrote: > Reported in the community forum [0]. By default, there can be large > amounts of memory left assigned to the QEMU process after backup. > Likely because of fragmentation, it's necessary to explicitly call > malloc_trim() to tell glibc t

[pve-devel] [PATCH qemu 2/2] backup: trim heap after finishing

2023-08-14 Thread Fiona Ebner
Reported in the community forum [0]. By default, there can be large amounts of memory left assigned to the QEMU process after backup. Likely because of fragmentation, it's necessary to explicitly call malloc_trim() to tell glibc that it shouldn't keep all that memory resident for the process. QEMU