RocketChat / RocketChat/Rocket.Chat.Electron

Memory consumption too high

Open
#689 12 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.7k
Forks
835
Avg merge
1d 21h
Merged PRs (30d)
15

Description

My Setup

  • Operating System: macOS High Sierra 10.13.3

  • App Version: 2.10.5

  • I have tested with the latest version

  • 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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported memory usage on macOS High Sierra with Rocket.Chat+ version 2.10.5, checking the main process and Rocket.Chat+ Helper processes separately. Profile the reproducible case to identify what causes one Helper to reach about 1 GB, then verify that the same contact and group setup uses a reasonable amount of memory.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.