As I understand it, "invalid page header" indicates DB corruption. I was having frequent issues with this, so about a week ago, I uninstalled Postgres and reinstalled it completely.
It doesn't seem to be helping. If I don't back up my HM data every few hours, I end up with corruption.
Is database size a potential problem? (I need to prune my db, I think.)