ProtonMail / ProtonMail/WebClients

Unusual memory usage spike (~ 500 MiB) during login?

Open
#426 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.6k
Forks
715
PR merge metrics
No merged PRs in 30d

Description

    Both:
    https://account.proton.me/mail
    https://account.proton.me/login
    (the 2nd is mere login, not even loading Mail)

    Extraordinary amount of memory seems requested:
    And soon released. (only for few seconds)
    (is it really used..?)

    The behavior is unusual comparing to other crypto-mail, e.g. Tuta.
    Where the login flow won't cause alike.

    Probably relevant:
    https://github.com/ProtonMail/WebClients/issues/38#issuecomment-303186785

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 memory spike on account.proton.me/mail and account.proton.me/login with browser memory tools. Read the linked WebClients issue comment for context; no source file or test is identified in this report. Done should include a confirmed cause and evidence that the login flow no longer produces the reported transient spike.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, performance, web-dev
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.