Skip to content

Debug out-of-memory issues with Rollup v4.27.0#5727

Merged
lukastaegert merged 4 commits into
masterfrom
debug-oom
Nov 15, 2024
Merged

Debug out-of-memory issues with Rollup v4.27.0#5727
lukastaegert merged 4 commits into
masterfrom
debug-oom

Conversation

@lukastaegert

Copy link
Copy Markdown
Member

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

List any relevant issue numbers:

Description

Some attempts to debug an issue reported here #5420 (comment)

@vercel

vercel Bot commented Nov 15, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rollup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 15, 2024 2:56pm

@github-actions

github-actions Bot commented Nov 15, 2024

Copy link
Copy Markdown

Thank you for your contribution! ❤️

You can try out this pull request locally by installing Rollup via

npm install rollup/rollup#debug-oom

Notice: Ensure you have installed the latest stable Rust toolchain. If you haven't installed it yet, please see https://www.rust-lang.org/tools/install to learn how to download Rustup and install Rust.

or load it into the REPL:
https://rollup-3fnq6wab6-rollup-js.vercel.app/repl/?pr=5727

@github-actions

github-actions Bot commented Nov 15, 2024

Copy link
Copy Markdown

Performance report

  • BUILD: 7879ms, 745 MB
    • initialize: 0ms, 26.8 MB
    • generate module graph: 3212ms, 562 MB
      • generate ast: 1515ms, 555 MB
    • sort and bind modules: 451ms, 603 MB
    • mark included statements: 4218ms, 745 MB
      • treeshaking pass 1: 2786ms, 744 MB
      • treeshaking pass 2: 512ms, 745 MB
      • treeshaking pass 3: 458ms, 745 MB
      • treeshaking pass 4: 453ms, 745 MB
  • GENERATE: 910ms, 993 MB
    • initialize render: 0ms, 885 MB
    • generate chunks: 93ms (-51ms, -35.5%), 890 MB
      • optimize chunks: 0ms, 888 MB
    • render chunks: 801ms, 969 MB
    • transform chunks: 16ms, 993 MB
    • generate bundle: 0ms, 993 MB

@codecov

codecov Bot commented Nov 15, 2024

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 80.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 98.84%. Comparing base (c035068) to head (892ce02).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/ast/variables/ParameterVariable.ts 50.00% 2 Missing ⚠️
src/ast/utils/limitPathLength.ts 85.71% 0 Missing and 1 partial ⚠️
src/ast/variables/LocalVariable.ts 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5727      +/-   ##
==========================================
- Coverage   98.89%   98.84%   -0.05%     
==========================================
  Files         258      259       +1     
  Lines        8204     8218      +14     
  Branches     1387     1395       +8     
==========================================
+ Hits         8113     8123      +10     
- Misses         60       63       +3     
- Partials       31       32       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions

Copy link
Copy Markdown

This PR has been released as part of rollup@4.27.1-0. Note that this is a pre-release, so to test it, you need to install Rollup via npm install rollup@4.27.1-0 or npm install rollup@beta. It will likely become part of a regular release later.

@github-actions

Copy link
Copy Markdown

This PR has been released as part of rollup@4.27.1. You can test it via npm install rollup.

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

Successfully merging this pull request may close these issues.

1 participant