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

Reduce memory usage of sourcemap uploads #2344

Open
2 of 3 tasks
szokeasaurusrex opened this issue Jan 15, 2025 · 0 comments
Open
2 of 3 tasks

Reduce memory usage of sourcemap uploads #2344

szokeasaurusrex opened this issue Jan 15, 2025 · 0 comments

Comments

@szokeasaurusrex
Copy link
Member

szokeasaurusrex commented Jan 15, 2025

In addition to being affected by the memory-inefficiency of chunk uploading (#2291), sourcemap uploads are affected by even more severe memory usage issues.

From investigating a sourcemap upload with a memory profiler, I observed three large memory allocations which we should attempt to fix. Note that these tests were performed with --no-rewrite (more info on this later):

Lastly, without --no-rewrite, memory usage seems to be even worse. We still need to investigate the case where --no-rewrite is not passed to Sentry CLI.

szokeasaurusrex added a commit that referenced this issue Jan 20, 2025
Symbolic version `12.13.3` includes [a change](getsentry/symbolic#890), which will reduce, in some cases significantly, the memory usage of sourcemap uploads.

ref #2344
szokeasaurusrex added a commit that referenced this issue Jan 20, 2025
Symbolic version `12.13.3` includes a change, which will
reduce the memory usage of sourcemap uploads, in some cases very
significantly.

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

No branches or pull requests

1 participant