Rocket.Chat.Electron icon indicating copy to clipboard operation
Rocket.Chat.Electron copied to clipboard

Memory consumption too high

Open G00fY2 opened this issue 6 years ago • 12 comments

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.

G00fY2 avatar Mar 13 '18 14:03 G00fY2

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.

gdelavald avatar Mar 15 '18 21:03 gdelavald

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 avatar May 07 '18 15:05 rafaelcarrillo-prodigia

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

gdelavald avatar May 07 '18 16:05 gdelavald

Hello, Any improvement here ? Thank you !

jrozelle avatar Jul 09 '18 16:07 jrozelle

Hello,

Any news ?

jrozelle avatar Jun 20 '19 13:06 jrozelle

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)

tmanaud avatar Jan 03 '20 11:01 tmanaud

same here

Screen Shot 2020-05-16 at 13 54 32

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

danilowm avatar May 16 '20 16:05 danilowm

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.

tmanaud avatar May 17 '20 06:05 tmanaud

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

jrozelle avatar Sep 07 '20 19:09 jrozelle

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.

Thank you!

jeanfbrito avatar Jan 10 '22 17:01 jeanfbrito

Hello, The problem is still here for me (rocket 3.7.5) : Capture d’écran 2022-01-18 à 13 28 02

jrozelle avatar Jan 18 '22 12:01 jrozelle

Issue still here,

image

Masturzi avatar Feb 06 '23 03:02 Masturzi