Skip to content

2.94.0 release causes OOM when uploading a docker image via jf rt dp command #3382

@vivobg

Description

@vivobg

Describe the bug

The new 2.94.0 release is causing the jf command to take up all the memory on the circleci agent it is running on, when trying to upload a docker image to artifactory. Downgrading to the 2.93.0 version allows the command to complete successfully and in timely manner.

Current behavior

Running jf rt dp $ARTIFACTORY_URL/docker-repo/$CIRCLE_PROJECT_REPONAME:1.1.1 docker-repo --build-name=${CIRCLE_PROJECT_REPONAME} --build-number=${CIRCLE_BUILD_NUM} causes the job to either fail with exit code 137 or for the circleci agent to become unresponsive and crash when using 2.94.0 version of the cli.

The agent has 8GB of memory and it gets consumed by the jf process

Image

Pinning the cli version during installation fixes the issue
curl -fL https://install-cli.jfrog.io | sh -s 2.93.0

Reproduction steps

Running jf rt dp $ARTIFACTORY_URL/docker-repo/$CIRCLE_PROJECT_REPONAME:1.1.1 docker-repo --build-name=${CIRCLE_PROJECT_REPONAME} --build-number=${CIRCLE_BUILD_NUM} causes the job to either fail with exit code 137 or for the circleci agent to become unresponsive and crash when using 2.94.0 version of the cli.

Expected behavior

Expected to complete docker image upload successfully, and not take up all the memory on the agent. 2.93.0 completes this command successfully, but 2.94.0 doesn't.

JFrog CLI version

2.94.0

Operating system type and version

Linux amd64 CircleCI agent

JFrog Artifactory version

No response

JFrog Xray version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions