Skip to content

Java heap space since bump to Tycho 4.0.6 for Papyrus-Desktop

Summary

On Papyrus-Desktop, we are trying to bump from Tycho 4.0.3 to Tycho 4.0.12. Unfortunately, the job Papyrus-Desktop-MergeRequest, which checks the merge request, fails in the error Java heap space.

Steps to reproduce

I've done a dichotomic search and the culprit version is Tycho 4.0.6 (OK with Tycho 4.0.5, job #147, KO with Tycho 4.0.6 and further, job #148).

The MR #55 has been used for this "dichotomic search".

What is the current bug behavior?

Job fails with this kind of error:

14:08:40 Exception in thread "HttpClient-3-SelectorManager" Exception in thread "HttpClient-2-SelectorManager" java.lang.OutOfMemoryError: Java heap space
14:08:40 java.lang.OutOfMemoryError: Java heap space
14:14:39 
14:14:39 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Worker-5"
14:14:51 
14:14:51 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "HttpClient-4-SelectorManager"
14:16:07 Exception in thread "HttpClient-5-SelectorManager" java.lang.OutOfMemoryError: Java heap space
14:16:07 Exception in thread "Worker-4" java.lang.OutOfMemoryError: Java heap space
14:16:07 Exception in thread "HttpClient-9-SelectorManager" java.lang.OutOfMemoryError: Java heap space
14:16:07 Exception in thread "HttpClient-8-SelectorManager" Exception in thread "HttpClient-10-SelectorManager" java.lang.OutOfMemoryError: Java heap space
14:16:07 java.lang.OutOfMemoryError: Java heap space

What is the expected correct behavior?

Job ends with success.

Priority

  • Urgent
  • High
  • Medium
  • Low

Severity

  • Blocker
  • Major
  • Normal
  • Low

Impact

Currently, it is not possible to use a new version of Tycho. It will probably be blocking to add platform Mac OS aarch64 (as it seems that Tycho 4.0.9 is required: https://github.com/eclipse-platform/eclipse.platform/issues/1594#issuecomment-2439735566).

Do you have any idea what the problem is? It seems similar to #3885 (closed), but I couldn't find any concrete solution on that ticket.

I'm not sure if the -Xmx2048m is considered as MAVEN_OPTS...