Skip to content

Build Problems on Tycho 5.0.x #3533

Open

Description

@cdietrich

21:09:12 [INFO] --- tycho-source:5.0.1-SNAPSHOT:plugin-source (plugin-source) @ org.eclipse.xtext.tests ---
21:09:12 [INFO] Building jar: /home/jenkins/agent/workspace/xtext_cd_tycho50/org.eclipse.xtext.tests/target/org.eclipse.xtext.tests-2.41.0-SNAPSHOT-sources.jar
21:10:09
21:10:09 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Worker-0"
21:10:41
21:10:41 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "HttpClient-4-SelectorManager"
21:10:53
21:10:53 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "HttpClient-6-SelectorManager"
21:10:58
21:10:58 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "HttpClient-5-SelectorManager"
21:11:05
21:11:05 Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "HttpClient-3-SelectorManager"

from

https://ci.eclipse.org/xtext/job/xtext/job/cd_tycho50/948/console

@laeubi was there some recent changes to the tycho-source logic?

Activity

  1. cdietrich commented on Oct 20, 2025

    @cdietrich
    ContributorAuthor
  2. laeubi commented on Oct 20, 2025

    @laeubi

    @laeubi was there some recent changes to the tycho-source logic?

    Not that I'm aware of a HeapDump would be useful here.

  3. cdietrich commented on Oct 20, 2025

    @cdietrich
    ContributorAuthor

    need the check to find time and reproduce outside ci.
    ofc it does not fail on my mac :(

  4. LorenzoBettini commented on Oct 20, 2025

    @LorenzoBettini
    Contributor

    Just an additional note: that project has tons of sources, maybe that increases the chances of OOM error.
    Since we don't distribute that, we could also skip its source generation.

  5. laeubi commented on Oct 20, 2025

    @laeubi

    The only thing I could think of would be the upgrade of plexus-archiver

    but this actually should reduce heap usage!

    FYI @slawekjaranowski @slachiewicz

  6. cdietrich commented on Oct 20, 2025

    @cdietrich
    ContributorAuthor
  7. slachiewicz commented on Oct 20, 2025

    @slachiewicz

    Yes please try to upgrade plexus-archiver and share feedback. Releasing plugins would take more time

  8. laeubi commented on Oct 20, 2025

    @laeubi

    @slachiewicz Tycho should use 4.10.2 already, so I fear it might getting "worse" in this case than better as it seem to have worked before.

  9. slachiewicz commented on Oct 20, 2025

    @slachiewicz
  10. laeubi commented on Oct 20, 2025

    @laeubi

    Sorry, wrong link we are using 4.10.3 (!!)

  11. cdietrich commented on Oct 20, 2025

    @cdietrich
    ContributorAuthor

    cant reproduce locally. even in docker container.
    and ofc i dont manage to extract the heapdump out of jenkins

  12. cdietrich commented on Oct 20, 2025

    @cdietrich
    ContributorAuthor

    ok i managed by lowering memory in jenkins

    Image Image

    @slachiewicz does this ring a bell

  13. cdietrich commented on Oct 20, 2025

    @cdietrich
    ContributorAuthor

    still wonder why there is 1500 of these...., maybe they keep floating around during the build

  14. laeubi commented on Oct 20, 2025

    @laeubi

    @cdietrich can you create an issue in plexus-archiver and describe the problem + (textual) data of the trace where objects are retained? then one might assign to copilote for another analysis.

  15. slachiewicz commented on Oct 20, 2025

    @slachiewicz

    Yes, for java 21+ we have different implementation

    codehaus-plexus/plexus-archiver#381

    @cstamas wdyt?

  16. cdietrich commented on Oct 20, 2025

    @cdietrich
    ContributorAuthor
  17. laeubi commented on Oct 20, 2025

    @laeubi

    VT + ThreadLocals do not play well: https://stackoverflow.com/questions/78889090/alternative-of-threadlocal-for-virtual-threads

    Beside that I really doubt that VT make things faster in I/O bound scenario likes creating an archive...

  18. slachiewicz commented on Nov 10, 2025

    @slachiewicz

    I've released 4.10.4 with revert code related to VT. Could You try to check if issue still persists?

  19. cdietrich commented on Nov 11, 2025

    @cdietrich
    ContributorAuthor

    @laeubi as you reverted the plexus bump in tycho, can you bump to the new version there?

  20. laeubi commented on Nov 11, 2025

    @laeubi

    Usually it should happen automatically, but currently there are too many open PRs, I'll try to cleanup the queue...

  21. HannesWell commented on Apr 2, 2026

    @HannesWell
    Contributor

    Can this be considered resolved because Xtext now builds with Tycho 5 since

  22. cdietrich commented on Apr 3, 2026

    @cdietrich
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions