Strapi project resets on heroku every couple of hours (dyno restarts)

I have already installed postgress still facing the same issue.