| commit | fa33c76e01ac2d16f623c1eff213195839fabd73 | [log] [tgz] |
|---|---|---|
| author | Dan Field <dnfield@google.com> | Fri Sep 18 12:32:02 2020 -0700 |
| committer | GitHub <noreply@github.com> | Fri Sep 18 12:32:02 2020 -0700 |
| tree | 34ae0ebffbfc7fa3b36584929aa505fe4c9536f8 | |
| parent | aec855d3963c9cf0e7082b4d05288c75b4bc36e1 [diff] [blame] |
set old_gen_heap_size to half of available memory on iOS (#20472)
diff --git a/common/constants.h b/common/constants.h new file mode 100644 index 0000000..50b0f91 --- /dev/null +++ b/common/constants.h
@@ -0,0 +1,7 @@ +// Copyright 2013 The Flutter Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +namespace flutter { +constexpr double kMegaByteSizeInBytes = (1 << 20); +} // namespace flutter