8000 Debug out-of-memory issues with Rollup v4.27.0 by lukastaegert · Pull Request #5727 · rollup/rollup · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

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

Merged
merged 4 commits into from
Nov 15, 2024
Merged

Conversation

lukastaegert
Copy link
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)

Copy link
vercel bot commented Nov 15, 2024

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

Copy link
github-actions bot commented Nov 15, 2024

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

Copy link
github-actions bot commented Nov 15, 2024

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

Copy link
codecov bot commented Nov 15, 2024

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.

Copy link

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.

@lukastaegert lukastaegert merged commit faeb905 into master Nov 15, 2024
70 of 73 checks passed
@lukastaegert lukastaegert deleted the debug-oom branch November 15, 2024 15:24
Copy link

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
0