Skip to content

More memory usage within Azure Devops pipelines #3505

@thvd

Description

@thvd

Summary

Context: We run in azure devops pipelines.

With version of sf cli: 2.123.1 (6.14.0-1017-azure) we run out of memory, on multiple occasions, nothing specific so far.

But with version sf cli: @salesforce/cli/2.122.6 linux-x64 node-v24.13.0

Message from Azure Devops: ##[warning]Free memory is lower than 5%; Currently used: 96.73%

Steps To Reproduce

It's in Azure Devops, on multiple different commands.
One of them:

sf data import tree -p config/data/Account-Case-MyCustomObject__c-Contact-Opportunity-plan.json -o "$ORGNAME"

Expected result

No error

Actual result

  1. ##[warning]Free memory is lower than 5%; Currently used: 96.73%
  2. Pipeline does stop

System Information

	@oclif/plugin-search 1.2.38 (core)
	@oclif/plugin-update 4.7.19 (core)
	@oclif/plugin-version 2.2.36 (core)
	@oclif/plugin-warn-if-update-available 3.1.55 (core)
	@oclif/plugin-which 3.2.43 (core)
	@salesforce/cli 2.123.1 (core)
	agent 1.29.0 (core)
	apex 3.9.6 (core)
	api 1.3.9 (core)
	auth 4.1.5 (core)
	data 4.0.68 (core)
	deploy-retrieve 3.24.8 (core)
	info 3.4.101 (core)
	limits 3.3.75 (core)
	marketplace 1.3.10 (core)
	org 5.9.66 (core)
	packaging 2.25.1 (core)
	schema 3.3.91 (core)
	settings 2.4.55 (core)
	sobject 1.4.82 (core)
	telemetry 3.7.2 (core)
	templates 56.4.7 (core)
	trust 3.7.113 (core)
	user 3.6.49 (core)

 OS and Version:
	Linux 6.14.0-1017-azure

 Shell:
	bash

 Root Path:
	/opt/hostedtoolcache/node/24.13.0/x64/lib/node_modules/@salesforce/cli

Metadata

Metadata

Assignees

No one assigned

    Labels

    investigatingWe're actively investigating this issuevalidatedVersion information for this issue has been validated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions