You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider a scenario when the library is used in an application hosted in a K8s container with a memory limit of 1GB. Dotnet also has a memory limit controlled by COMPlus_GCHeapHardLimitPercent, say 90%. So the question is, by setting ResourceLimits.LimitMemory(new Percentage(30)), would I limit the memory to 1GB * 0.3 = 300MB or 1GB * 0.9 * 0.3 = 270MB, or something else?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Consider a scenario when the library is used in an application hosted in a K8s container with a memory limit of 1GB. Dotnet also has a memory limit controlled by
COMPlus_GCHeapHardLimitPercent
, say 90%. So the question is, by settingResourceLimits.LimitMemory(new Percentage(30))
, would I limit the memory to1GB * 0.3 = 300MB
or1GB * 0.9 * 0.3 = 270MB
, or something else?Beta Was this translation helpful? Give feedback.
All reactions