How do I debug memory issues? #732
jhage-snapsheet
started this conversation in
General
Replies: 1 comment 2 replies
-
|
Sorry to hear that you're facing memory issues with rstest. Some information may be helpful:
To debug the memory issue with rstest, you can take a heap snapshot to analyze the memory usage. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
We have successfully migrated to rsbuild in production, and can build in local in ~5 seconds (without lazy). However, rstest seems to use my full 64GB of RAM and then crashes with out of memory error. How can I properly debug what exactly is going on?
When I run rstest on a specific folder with much less tests, it uses a lot of memory sure but doesn't crash. Perhaps we are causing a memory leak somewhere on our end. I could use some help debugging
I have done things from rspack suggestion like remove minimizer and parallel processing
Thank you!!
Beta Was this translation helpful? Give feedback.
All reactions