Crashing with out of memory error when opening a topic

“failed to allocate memory” sounds like maybe the database is tuned to use too much ram from the previous plan, my empty test instance uses about 1gb on a 4gb centos vm

[root@discocent discourse]# free
              total        used        free      shared  buff/cache   available
Mem:        3881412      912764      413192       33168     2555456     2401820
Swap:       2097148        1544     2095604

Does the droplet have any swap configured? Have you tried rebuilding the app container?
Check for out-of-memory errors in dmesg or /var/log/syslog too

Try to tail -f /var/discourse/shared/standalone/log/rails/production.log when opening a topic and look for error messages there maybe, that log is pretty verbose.