How well does TrueNAS handle dynamically modifing RAM while virtualized?

Hi!

I’m planning on virtualizing Truenas. I have several bare metal servers with Core and Scale and would like to build one virtualized with XCP-ng and passing a PCIe card with disk attached.

Well. I would like to know how well does Truenas handle dynamically changing the RAM available to the truenas VM.
I guess it works just fine changing it with the Truenas VM turned off, as it would just have less ARC and that’s it.

But how well does it handle changing it while turned on?
I will use an ssd as l2arc if that matters too.

Thanks!

Probably not very well is my guess.