Skip to content

Commit b1d483a

Browse files
committed
Set memeory used by autorest to 16g to avoid out-of-memory
1 parent 17d93e6 commit b1d483a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/StaticAnalysis/GeneratedSdkAnalyzer/SDKGeneratedCodeVerify.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ try {
7676
else
7777
{
7878
Write-Host "Using autorest csharp v3:`nRe-generating SDK under Generated folder for $ModuleName..."
79-
npx autorest --use:@microsoft.azure/autorest.csharp@2.3.90
79+
npx autorest --use:@microsoft.azure/autorest.csharp@2.3.90 --memory=16g
8080
}
8181

8282
If (($LASTEXITCODE -ne 0) -and ($LASTEXITCODE -ne $null))

0 commit comments

Comments
 (0)