-
Notifications
You must be signed in to change notification settings - Fork 37
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
Sentry Vite Plugin reactComponentAnnotation
causes Javascript Heap OOM
#638
Comments
reactComponentAnnotation
causes Javascript Heap OOOreactComponentAnnotation
causes Javascript Heap OOM
Hey @mikehuebner thanks for writing in.
What version were you using before Just to confirm, if you set |
Yup, |
Since 2.22.4 we didn't really change anything that might be relevant to this issue. Do you think you would be able to provide a memory profile just so we can narrow down what happens to be consuming so much memory? 10 gigs seems excessive. |
Can do, I'll get that to you later this afternoon. |
I've been also facing this issue with For context, I'm using Vite 4 and Node 22. |
I unfortunately have to say this but it is basically impossible for us to investigate and debug OOM issues without consistent repro and/or memory profiles. If anybody could provide those I am happy to take a look! |
Environment
@sentry/vite-plugin
->^2.22.7
vite
->6.0.3
node
->22.0.0
Steps to Reproduce
Build application with the following configuration
Expected Result
A normal build, was working fine before the update to 2.22.7 I believe.
Actual Result
Things I've Tried
Adding
NODE_OPTIONS="--max_old_space_size=8192"
- can keep increasing as our runners use--max_old_space_size=10240
The text was updated successfully, but these errors were encountered: