Do not enter very large rooms (especially Matrix HQ!) and you'll be fine.
I know it sounds extreme, but you may want to ban Matrix HQ from the start and just infrom anyone wanting to join your instance if they are ok with that. This room alone is a spam anyway and it took >100GB of space on my database, cleaning wasn't simple.
Write me a message if you want any help π.