8000 Fixed OutOfMemoryError during maven install by zrlw · Pull Request #15325 · apache/dubbo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixed OutOfMemoryError during maven install #15325

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 3 commits into from
Apr 24, 2025

Conversation

zrlw
Copy link
Contributor
@zrlw zrlw commented Apr 16, 2025

What is the purpose of the change?

fixed #15328

  1. fixed maven build argLine parameter configuration.
  2. removed maven-build-cache-extension configuration files to avoid encoutering OutOfMemoryError during maven install. see [Tracing WIP] maven-build-cache-extension consumes too much memory no matter enable cache or not #15334
  3. for logging chinese characters normally under windows with different jdk:
    set file.encoding to utf8 for -jdk17 (inclusive)
    set sun.stdout.encoding and sun.stderr.encoding to utf8 for jdk18
    set stdout.encoding and stderr.encoding to utf8 for jdk19+(inclusive)

Checklist

  • Make sure there is a GitHub_issue field for the change.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test to verify your logic correction. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
  • Make sure gitHub actions can pass. Why the workflow is failin 8000 g and how to fix it?

@codecov-commenter
Copy link
codecov-commenter commented Apr 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.75%. Comparing base (93cfa82) to head (94883c4).
Report is 2 commits behind head on 3.3.

Additional details and impacted files
@@             Coverage Diff              @@
##                3.3   #15325      +/-   ##
============================================
- Coverage     60.78%   60.75%   -0.03%     
+ Complexity    10923    10912      -11     
============================================
  Files          1886     1886              
  Lines         86129    86127       -2     
  Branches      12903    12903              
============================================
- Hits          52350    52326      -24     
- Misses        28322    28344      +22     
  Partials       5457     5457              
Flag Coverage Δ
integration-tests 33.11% <ø> (-0.09%) ⬇️
samples-tests 29.37% <ø> (+0.11%) ⬆️
unit-tests 58.91% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@zrlw zrlw force-pushed the 3.3-fixed-mavenOutOfMemoryError branch from 8262a13 to f7c3b5f Compare April 16, 2025 13:18
@zrlw zrlw changed the title Set Xmx arg of surefire plugin to avoid java.lang.OutOfMemoryError when building project by 'mvn install' Set maven-compiler-plugin memory allocation configuration to avoid encountering an OutOfMemoryError during a Maven build Apr 16, 2025
@zrlw zrlw force-pushed the 3.3-fixed-mavenOutOfMemoryError branch from f7c3b5f to 8f7f8c9 Compare April 17, 2025 00:00
@zrlw zrlw changed the title Set maven-compiler-plugin memory allocation configuration to avoid encountering an OutOfMemoryError during a Maven build Set maven build arg Xmx to 1024m to avoid encountering an OutOfMemoryError during a Maven build Apr 17, 2025
@zrlw zrlw force-pushed the 3.3-fixed-mavenOutOfMemoryError branch from 8f7f8c9 to 22bd803 Compare April 17, 2025 01:13
@zrlw zrlw changed the title Set maven build arg Xmx to 1024m to avoid encountering an OutOfMemoryError during a Maven build Fixed maven build property 'argLine' to avoid encountering an OutOfMemoryError during a Maven build Apr 17, 2025
@zrlw zrlw force-pushed the 3.3-fixed-mavenOutOfMemoryError branch 3 times, most recently from cce7916 to 81aa81b Compare April 17, 2025 05:57
@zrlw zrlw changed the title Fixed maven build property 'argLine' to avoid encountering an OutOfMemoryError during a Maven build Fixed maven install OutOfMemoryError Apr 17, 2025
@zrlw zrlw force-pushed the 3.3-fixed-mavenOutOfMemoryError branch from 81aa81b to e9429f0 Compare April 17, 2025 09:30
@zrlw zrlw changed the title Fixed maven install OutOfMemoryError Fixed OutOfMemoryError during maven install Apr 17, 2025
@zrlw zrlw force-pushed the 3.3-fixed-mavenOutOfMemoryError branch 3 times, most recently from 55ecebb to 3c71c7b Compare April 23, 2025 02:35
@zrlw zrlw force-pushed the 3.3-fixed-mavenOutOfMemoryError branch from 3c71c7b to a62c16d Compare April 23, 2025 03:36
@zrlw zrlw force-pushed the 3.3-fixed-mavenOutOfMemoryError branch from a62c16d to 94883c4 Compare April 24, 2025 01:01
@oxsean oxsean merged commit c393896 into apache:3.3 Apr 24, 2025
19 checks passed
@zrlw zrlw deleted the 3.3-fixed-mavenOutOfMemoryError branch June 5, 2025 07:25
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.

[Bug] OutOfMemoryError during maven install
3 participants
0