microsoft / navcontainerhelper

Official Microsoft repository for BcContainerHelper, a PowerShell module, which makes it easier to work with Business Central Containers on Docker.
MIT License
385 stars 246 forks source link

[QUESTION] [warning]Free memory is lower than 5%; Currently used: 95.03% #3681

Closed akhileshekartha closed 1 month ago

akhileshekartha commented 1 month ago

Hi,

Our build pipeline is displaying the following warning:

"[Warning] Free memory is lower than 5%; currently used: 95.03%."

Could you please advise on how to resolve this issue? The build server has sufficient free space on the C drive and has 16 GB of RAM.


Run-AlPipeline  -containerName $ContainerName `
    -imageName 'bc' `
    -baseFolder $WorkFolder `
    -credential $credential `
    -keepContainer `
    -licenseFile $latest_License `
    -CreateRuntimePackages `
    -BuildArtifactFolder $WorkFolder\AppFiles `
    -accept_insiderEula `
    -previousApps $Previousapp `
    -installApps $a `
    -azureDevOps `
    -appFolders @("Project") `
    -AppRevision $AppRevision `
    -enablePerTenantExtensionCop `
    -AppBuild $buildID `
    -artifact $bcArtifacts 

Screenshots image

image

image

freddydk commented 1 month ago

Add -memoryLimit 12G maybe?

akhileshekartha commented 1 month ago

@freddydk I have updated memoryLimit; it seems ok now. Thank you :)