Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running matrix-react-sdk's yarn test consumes all memory & CPU #26369

Closed
AndrewFerr opened this issue Oct 13, 2023 · 2 comments
Closed

Running matrix-react-sdk's yarn test consumes all memory & CPU #26369

AndrewFerr opened this issue Oct 13, 2023 · 2 comments
Labels

Comments

@AndrewFerr
Copy link
Member

Steps to reproduce

  1. Clone matrix-react-sdk & build it
  2. Run yarn test

Outcome

What did you expect?

That the tests would run and finish.

What happened instead?

The tests quickly ballooned in memory & CPU usage and brought my PC to a freeze.

Even when closing most other programs, memory usage was still high enough to trigger the OS to end some of the test processes -- and not even that was enough to prevent my PC from freezing.

20231013_114238

Operating system

Fedora Linux 38 (Workstation Edition)

Application version

matrix-react-sdk 3.82.0

How did you install the app?

From source

Homeserver

N/A

Will you send logs?

No

@t3chguy
Copy link
Member

t3chguy commented Oct 14, 2023

I suggest passing --runInBand to use less resources.

@t3chguy t3chguy closed this as completed Oct 14, 2023
@AndrewFerr
Copy link
Member Author

Works like a charm, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants