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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: amazon-ecs-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.121.1
      Amazon EC2 Container Service 1.16
    • Similar Issues:

      Description

      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.

       

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              Created:
              Updated: