Is 1GB RAM enough for both WordPress and Discourse?

90% of Discourse performance is having a CPU with very fast single threaded performance. The other 10% is having enough memory for the max number of concurrent active logged in users your site receives.