gnodet commented on PR #704:
URL: https://github.com/apache/creadur-rat/pull/704#issuecomment-5115531612

   @ottlinger I investigated the site build issue more thoroughly, now testing 
with **JDK 25.0.3 + Maven 3.9.16** (same versions you reported):
   
   ### Results
   
   | Scenario | Heap | Result |
   |----------|------|--------|
   | This branch, JDK 25, default heap (~4GB ergonomic) | ~4GB | ✅ BUILD 
SUCCESS |
   | This branch, JDK 21, default heap | ~4GB | ✅ BUILD SUCCESS |
   | This branch, JDK 25, `-Xmx1g` | 1GB | ❌ `exec-maven-plugin` template 
failure in `apache-rat-plugin` |
   | **`master`**, JDK 25, `-Xmx1g` | 1GB | ❌ Same `exec-maven-plugin` template 
failure |
   
   The 1GB failure is identical on both `master` and this branch — 
`exec-maven-plugin:3.6.3:java` fails on Velocity template processing with 
`Unable to find resource '...index.apt.vm.vm'`. This is a pre-existing issue 
unrelated to this PR.
   
   This PR makes **no changes** to `pom.xml` dependency trees, so there's 
nothing here that would increase memory consumption during site generation.
   
   If you're seeing a heap space issue specifically in `apache-rat-tasks` 
during the dependencies report, it might be related to:
   - Available system RAM (JDK ergonomics sets max heap to ~1/4 of physical RAM)
   - An explicit `MAVEN_OPTS` setting that caps heap too low
   - Other processes consuming memory on the machine
   
   Could you share the exact error output and your `MAVEN_OPTS` / `JAVA_OPTS` 
settings?


-- 
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