HA Backup Memory Leak?

My HA runs on proxmox for a few years already. It uses a steady 2 Gb RAM, for weeks on end. Only when I run a backup RAM shoots to 10 Gb in an instance and stays there forever until I reboot. I stopped running automated backups because eventually HA slows down to a crawl, as that RAM use increases with a Gig or so with each backup. Anyone encountered this too?

Add 4 hours later: Same issue when upgrading HA Core !

Compiling and backing up are two really ram extensive processes, so it makes sense it increase the ram usage and also max it out, whatever you may have given your VM of resources.
It should not stay that high though, but you can not count on numbers in Proxmox, because it really have no clue what is going on inside a VM.

Where are you seeing this? In Proxmox or directly in HA using the System Monitor integration?

If this is Proxmox, then it’s a weird quirk with the way RAM usage is reported and nothing to be too concerned about.
If this is within HA, I would disable all custom integrations and monitor what happens if you try to backup or upgrade in this state. If the issue doesn’t repeat itself, then you know it’s being caused by a custom integration.

Thanks, It was proxmox. In HA memory use is unchanged after a backup.

In that case it is not a memory leak. The memory is freed for the software inside to use, but not returned to the host by the VM.

Here ya go - it’s one of the most commonly asked questions in the Proxmox forums