Database Corrupts Overnight due to Rule?

  1. How are you determining it is a corrupt database?

  2. If you go to Logs tab, are there any errors?

  3. In the Logs tab go over to Device Stats, and App Stats. Open the settings and check all the boxes. Are there any devices or apps that are consuming memory?

I would also install @thebearmay excellent Hub Information Driver and watch the memory usage.