Is 1GB RAM enough for both WordPress and Discourse?

That doesn’t surprise me. Our WordPress install for blog.discourse.org had out of memory errors (and memory termination problems) with 1GB RAM until we added swap. That’s a DO droplet doing nothing but some pretty basic WordPress action with very few plugins.

So to answer your question, and I’ve edited the title to reflect this:

Is 1GB RAM enough for both WordPress and Discourse?

No. No it is not.