Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
medyagh committed Jul 29, 2020
1 parent 846aa8d commit 25e6386
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/minikube/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,9 @@ func validateMemorySize(req int, drvName string) {
glog.Warningf("Unable to query memory limits: %v", err)
}

// maximm ram they should allocate to minikube to prevent #8708
// maximm percent of their ram they could allocate to minikube to prevent #8708
maxAdvised := 0.79 * float64(sysLimit)
// a more sane alternative to their high memory 80%
minAdvised := 0.50 * float64(sysLimit)

if req < minUsableMem && !viper.GetBool(force) {
Expand Down

0 comments on commit 25e6386

Please sign in to comment.