That should be quite enough.
Can’t remember if it was suggested and you re-ran discourse-setup
to adjust Discourse’s memory usage, or if those defaults are reasonable given whatever else is using the server.
If you didn’t re-index the database after the PG13 upgrade, then you might have a look at PostgreSQL 13 update for some information about that.