Rebooting the whole NAS is unnecessary. Just restart the Roon server app.
I’ve had on/off memory leaks for as long as I’ve had it installed on my NAS. It’s unclear whether this is down to some flaw in f the Roon code or its interaction with the NAS firmware. I think I’ve read about instances of ROCK installations needing to be rebooted from time to time, for example.