Skip to content

Commit 8e31e81

Browse files
committed
deduplicate system reserved memory moved to distributer
1 parent 2890018 commit 8e31e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer/types/stack.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (s *StackConfig) Populate(c *Config) error {
6565
{Name: "office365", Priority: 3, MinMemory: 30, MaxMemory: 512},
6666
}
6767

68-
total := int(mem.Total/1024/1024) - utils.SYSTEM_RESERVED_MEMORY
68+
total := int(mem.Total / 1024 / 1024)
6969

7070
rsrcs, err := utils.BalanceMemory(services, total)
7171
if err != nil {

0 commit comments

Comments
 (0)