Como resolver o erro HTTP 502?

I am pretty sure the q23 instance has a DB this big and they are not on dedicated PG.