Commit 8a39e1d
authored
Only try OOM allocation size with 'absurd' value (#4489)
The current value version of the OOM allocation causes issues with
machines that have more than 128GB of RAM. Since one of the values it
tries to test is 128GB. This change removes this lower value, leaving
the higher value kMaxSafeMultipleOf8, which is ~8,192TB.
I am aware of no commercially available machine supports anything near
this much RAM, so this should be good for the foreseeable future. If
there is a device in the future with this much RAM, hopefully Number
will have been re-specified to something like a float128 by then.
Fixes #44881 parent 6dffd78 commit 8a39e1d
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 13 | + | |
19 | 14 | | |
20 | 15 | | |
21 | 16 | | |
| |||
0 commit comments