I’ve always run (turned on) the analysis process overnight until it is done. Basically, when I’m using Roon to play music or utilizing the NAS for other purposes, I would have analysis turned OFF. Then at the end of the day, I would turn ON analysis and make sure my Roon Core doesn’t sleep or hibernate, and that no backup or other storage activities occur either on the PC or the NAS. In the morning, I would turn OFF analysis before playing any music.
You might try that and see if the analysis is still running in the morning or if it has stopped.
Also, if you are running analysis and using Roon to play music, or even the PC for other things, you might try setting background analysis to 2 or 4 cores instead of 8. I would only set analysis to 8 cores when letting it run overnight.
This setup is dedicated to Roon and set not to hibernate. I have played music at the same time but in relative terms playing time has been minimal. Plan is to have it working away all the time to get through the analysis. Has been processing for about a week now (+/- with these restarts) while playing time less than a day.