lalmeras opened a new issue, #988:
URL: https://github.com/apache/maven-archetype/issues/988

   ### Affected version
   
   3.4.1
   
   ### Bug description
   
   `archetype:create-from-project` may trigger OOM / java heap space error when 
used with java 25, where the same setup with java 17 is fine. This is not a 
near-the-max-threshold issue. It may be needed to double Xmx (1500m -> 3000m) 
to get rid of the OOM.
   
   Memory threshold to trigger the issue may vary between environment (for my 
use-case, CI triggers with Xmx1500m, and my desktop needed a limit as low as 
700m to trigger the same issue).
   
   Error is triggered during `maven-archetype-plugin:jar` goal.
   
   From my investigation, it seems caused by this plexus-archiver issue 
https://github.com/codehaus-plexus/plexus-archiver/issues/399. Affected 
versions are plexus-archiver 4.10.1-4.10.3.
   
   It is fixed with https://github.com/codehaus-plexus/plexus-archiver/pull/408 
(4.10.4).
   
   Others encounter the same problem : related issue on maven-archiver -> 
https://github.com/apache/maven-archiver/issues/334
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to