Out of memory error

Description

It appears that RocketChat (node) ran out of memory:

Out of memory: Kill process 13832 (node) or sacrifice child
Killed process 13832 (node) total-vm:5157888kB, anon-rss:1237720kB, file-rss:0kB, shmem-rss:0kB
rocketchat.service: Main process exited, code=killed, status=9/KILL

If I am reading this correctly, node was using a massive amount of memory. This is a small installation with under 20 users.

Should a memory leak be suspected?

What are the next steps?

Server Setup Information

  • Version of Rocket.Chat Server: 3.0.7
  • Operating System: Debian 10.3
  • Deployment Method: tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 12.14.0 - x64
  • MongoDB Version: 4.2.5
  • Proxy: nginx

Any additional Information

I’m continuing to see gradual increase in memory over time. Is this expected?

Virtual/Resident memory usage in MB
chart01