zrlw opened a new pull request, #15325:
URL: https://github.com/apache/dubbo/pull/15325

   ## What is the purpose of the change?
   set ```-Xmx1024m``` to the argLine of surefire plugin to avoid 
java.lang.OutOfMemoryError when building project by 'mvn install'.
   see details at 
https://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
   ```
   You are building a very big multi-module project, each module requires a 
certain amount of memory so with increasing number of modules the amount of 
required memory increases as well until the JVM finally runs out of "Java heap 
space".
   ```
   see https://github.com/apache/dubbo/actions/runs/14485874004/job/40631247487
   
![OutOfMemoryError](https://github.com/user-attachments/assets/aba7671d-3955-47cc-b15d-56bc0a9110c4)
   
   ## Checklist
   - [x] Make sure there is a 
[GitHub_issue](https://github.com/apache/dubbo/issues) field for the change.
   - [x] Write a pull request description that is detailed enough to understand 
what the pull request does, how, and why.
   - [x] 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](https://github.com/apache/dubbo-samples) project.
   - [x] Make sure gitHub actions can pass. [Why the workflow is failing and 
how to fix it?](../CONTRIBUTING.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to