Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit e5d7a60

Browse files
DrChatnharper285Porges
authored
Limit azcopy to just half a gig of RAM (#3293)
Co-authored-by: Noah McGregor Harper <74685766+nharper285@users.noreply.github.com> Co-authored-by: George Pollard <gpollard@microsoft.com>
1 parent 9f234a1 commit e5d7a60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/agent/onefuzz/src/az_copy.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ async fn az_impl(mode: Mode, src: &OsStr, dst: &OsStr, args: &[&str]) -> Result<
8383
.stderr(Stdio::piped())
8484
.env("AZCOPY_LOG_LOCATION", temp_dir.path())
8585
.env("AZCOPY_CONCURRENCY_VALUE", "32")
86+
.env("AZCOPY_BUFFER_GB", "0.5") // Limit azcopy to just half a gig of RAM
8687
.arg(mode.to_string())
8788
.arg(src)
8889
.arg(dst)

0 commit comments

Comments
 (0)