Skip to content

Commit

Permalink
set max_memory_usage from 10GB to 0(unlimited). (#907)
Browse files Browse the repository at this point in the history
  • Loading branch information
LittleFall authored Nov 17, 2020
1 parent 402079d commit eacd119
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/playground/instance/tiflash_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/cluster/spec/tiflash.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit eacd119

Please sign in to comment.