Rocket.chat.electron: Memory consumption too high

Created on 13 Mar 2018  路  9Comments  路  Source: RocketChat/Rocket.Chat.Electron

My Setup

  • Operating System: macOS High Sierra 10.13.3
  • App Version: 2.10.5

  • [x] I have tested with the latest version

  • [x] I can simulate the issue easily

Description & Current Behavior

I have 4 _Rocket.Chat+ Helper_ processes running. 3 with each ~40MB memory consumption and one Helper with ~1GB. Also there is the _Rocket.Chat+_ process with ~70MB memory consumption. So in total running the client consumes around 1.2 GB of ram.

PS: In my contact list there are <20 contacts and 10 groups.

Expected Behavior

Use a 'decent' amount of ram.

Most helpful comment

Hey @G00fY2 we know that this is way too much, it is a known issue with Electron based apps that have a problem of being greedy in relation to the user's RAM. We are looking into ways to improve the memory management inside the app.
Thanks.

All 9 comments

Hey @G00fY2 we know that this is way too much, it is a known issue with Electron based apps that have a problem of being greedy in relation to the user's RAM. We are looking into ways to improve the memory management inside the app.
Thanks.

The server uses a lot of RAM after a couple days active without user load.

I did a "top" to check who was using ~10GB RAM and it was a mongod process called by the rocketchat-server PID . The Swap memory was full too.

@rafaelcarrillo-prodigia for server and general web app issues, please see Rocket.Chat repository.

Hello,
Any improvement here ? Thank you !

Hello,

Any news ?

Any update on this issue? (Rocket Chat version 2.15.3 / Ubuntu 19.04 )
We all agree that 1GiB RAM is definitely not acceptable, compared to other processes:
image
A normal machine has only a handfull of GiB or RAM (8 or 16)

same here

Screen Shot 2020-05-16 at 13 54 32

my mac
Screen Shot 2020-05-16 at 13 55 20

Since my last update to Ubuntu 20.04 with Rocket.chat 2.17.9, I dont get this issue anymore: about 300MB or RAM (for all processes) after few days of use.

Hello. Still the same problem, 1GB used under Catalina 10.15.6 and RC 2.17.11. Any news ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ankar84 picture ankar84  路  4Comments

Somtozech picture Somtozech  路  5Comments

dryabchenko picture dryabchenko  路  5Comments

bbrendon picture bbrendon  路  4Comments

rgembalik picture rgembalik  路  4Comments