Comments (5)
Hi, we can practically rule out that the webpack plugin is causing the OOM. It is more likely that Webpack is consuming a lot of memory generating sourcemaps.
You can try and exclude certain files from being sourcemapped in your build with webpack config, or provide your build server with more memory.
from sentry-javascript-bundler-plugins.
Hi, we can practically rule out that the webpack plugin is causing the OOM. It is more likely that Webpack is consuming a lot of memory generating sourcemaps.
You can try and exclude certain files from being sourcemapped in your build with webpack config, or provide your build server with more memory.
I closed the sentry sourcemap upload separately, and the packaging would not report an error
from sentry-javascript-bundler-plugins.
What do you mean by "closed" the upload?
from sentry-javascript-bundler-plugins.
What do you mean by "closed" the upload?
const sourcemaps = {
assets: ['dist/electron/*.js.map'],
ignore: ['node_modules'],
}
if(isProd){
sourcemaps.filesToDeleteAfterUpload = 'dist/electron/*.js.map'
}```
I changed the CLI on that device and uploaded it.
from sentry-javascript-bundler-plugins.
What do you mean by "closed" the upload?
const sourcemaps = { assets: ['dist/electron/*.js.map'], ignore: ['node_modules'], } if(isProd){ sourcemaps.filesToDeleteAfterUpload = 'dist/electron/*.js.map' }``` I changed the CLI on that device and uploaded it.
Found the problem. The problem should be in the Minified Scripts step, which caused the oom
from sentry-javascript-bundler-plugins.
Related Issues (20)
- sentry does not consider sourcemaps HOT 5
- esbuild plugin causing error in Nx Angular CLI (angular 17) HOT 1
- `filesToDeleteAfterUpload` is deleting files before upload in latest versions HOT 4
- can not disable soucemap HOT 3
- Sentry sourcemap use `@vitejs/plugin-legacy` and `@sentry/vite-plugin` conflict. HOT 16
- JavaScript heap out of memory, after adding Sentry to my Vite-React Project - GitLab HOT 3
- Invalid org token in Vite build HOT 2
- vite-plugin Docs should provide guidance and exmaples for removing source maps after upload HOT 1
- Sentry Webpack Plugin `Warning: Didn't find any matching sources for debug ID upload.` HOT 18
- sentry-file-deletion-plugin writeBundle hook Error in v2.21.0 HOT 11
- sentry webpack plugin Fatal process out of memory: Zone HOT 5
- Is there a plan to support the Sentry Rspack plugin in the future? HOT 3
- Sentry source maps completely incorrect and showing sentry debug stuff? HOT 10
- Update `@sentry/node` to v8
- Cannot use import statement outside a module issue, when upgrading from 2.16.1 to 2.17.0 HOT 1
- Vite production build failed due to SENTRY_RELEASE containing double quotes HOT 3
- API request failed: Invalid org token (http status 401) HOT 4
- Disable in vite plugin doesnt stop requesting through retry count HOT 2
- How to prevent @sentry/vite-plugin from injecting Sentry to every file? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-javascript-bundler-plugins.