Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52411

java.lang.OutOfMemoryError: Java heap space for long running Fargate job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • amazon-ecs-plugin
    • None
    • Jenkins ver. 2.121.1
      Amazon EC2 Container Service 1.16

      Docker container running on ECS with Fargate. 8 GB RAM, 2048 CPU units (2 vPCUs).

      Runs Gradle, with 3.5GB allocated to the Gradle execution.

      The agent has this configuration:

      -Xmx3072m

       

      Still, we get:

      java.lang.OutOfMemoryError: Java heap space

      right at the end of the execution, after the end of the build.

       

      I can provide more debugging info, just tell me what to look for.

       

            roehrijn2 Jan Roehrich
            ccaraivan Costin Caraivan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: