Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
adjust pagefile size (#4098)
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx authored and jackfrancis committed Oct 26, 2018
1 parent 8190427 commit ef59e9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions parts/k8s/kuberneteswindowssetup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ try
Write-Log "Disable Internet Explorer compat mode and set homepage"
Set-Explorer

Write-Log "Adjust pagefile size"
Adjust-PageFileSize

Write-Log "Start preProvisioning script"
PREPROVISION_EXTENSION

Expand Down
6 changes: 5 additions & 1 deletion parts/k8s/windowsconfigfunc.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,8 @@ function Install-Docker
}
}

# TODO: Pagefile adjustments
# Pagefile adjustments
function Adjust-PageFileSize()
{
wmic pagefileset set InitialSize=8096,MaximumSize=8096
}

0 comments on commit ef59e9f

Please sign in to comment.