Is this the only thing running within the VM?
What’s the result of cat /proc/meminfo | grep MemFree
?
Did you follow the Standard Install and run discourse-setup
? It should tune the memory settings for the spec of the VM assuming it meets the minimum requirements.
What are db_shared_buffers
, unicorn_workers
and db_work_mem
in your app.yml?