Replies: 1 comment 3 replies
-
That's a "normal" log of nodejs out of memory error, so it's likely that your code has something to do with hogging memory. Your log indicates memory limit is around |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am getting the following error after some file changes and adding new files. However, there are no changes to test files but vitest fails with the following message without any clue what to debug next. The order of files is random so it's impossible to see if it's any file causing issues or something else. Also, it says
JavaScript heap out of memory
but it doesn't seem to be a memory issue as I tried adding more memory topoolOptions.vmThreads.memoryLimit
in vite.config.js and also tried withmax-old-space-size
with Node command. I also tried with--logHeapUsage
flag but haven't got any specific issue for the test. It would be helpful If someone could provide any insight into what could be the issue or a easier way to debug this kind of issue.Version:
"vitest": "^1.4.0"
,Environment:
jsdom
.along with React Testing Library.
Beta Was this translation helpful? Give feedback.
All reactions