We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a02ae commit e33ccdcCopy full SHA for e33ccdc
sessionctx/variable/sysvar.go
@@ -940,6 +940,8 @@ var defaultSysVars = []*SysVar{
940
}
941
memory.ServerMemoryLimitOriginText.Store(str)
942
memory.ServerMemoryLimit.Store(bt)
943
+ threshold := float64(bt) * GOGCTunerThreshold.Load()
944
+ gctuner.Tuning(uint64(threshold))
945
gctuner.GlobalMemoryLimitTuner.UpdateMemoryLimit()
946
return nil
947
},
0 commit comments