diff --git a/components/playground/instance/tiflash_config.go b/components/playground/instance/tiflash_config.go index b643931e69..0051a650a2 100644 --- a/components/playground/instance/tiflash_config.go +++ b/components/playground/instance/tiflash_config.go @@ -54,7 +54,7 @@ size = "1000M" [profiles] [profiles.default] load_balancing = "random" -max_memory_usage = 10000000000 +max_memory_usage = 0 use_uncompressed_cache = 0 [profiles.readonly] readonly = 1 diff --git a/pkg/cluster/spec/tiflash.go b/pkg/cluster/spec/tiflash.go index 0decb8c4a0..da271826cf 100644 --- a/pkg/cluster/spec/tiflash.go +++ b/pkg/cluster/spec/tiflash.go @@ -229,7 +229,7 @@ server_configs: users.readonly.quota: "default" users.readonly.networks.ip: "::/0" profiles.default.load_balancing: "random" - profiles.default.max_memory_usage: 10000000000 + profiles.default.max_memory_usage: 0 profiles.default.use_uncompressed_cache: 0 profiles.readonly.readonly: 1 `, cfg.DataDir, cfg.LogDir, cfg.TCPPort, cfg.HTTPPort, cfg.TiDBStatusAddrs, cfg.IP, cfg.FlashServicePort,