Commit 50dfa33
committed
fix: TooManyTypes test OOMs under -Dpreset=stress's 512-object cap
The pre-push hook's -Dpreset=stress lane (256KB heap, max_objects=512)
caught what the earlier -Dpreset=1m verification couldn't: declaring
1025 type objects hit OutOfMemory well before the TooManyTypes=1024
ceiling this test targets. Gives this one test an explicit, generous
heap/object budget via initWithConfig directly instead of setup()'s
ambient preset-derived limits.1 parent 7cf49bf commit 50dfa33
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6337 | 6337 | | |
6338 | 6338 | | |
6339 | 6339 | | |
6340 | | - | |
| 6340 | + | |
6341 | 6341 | | |
| 6342 | + | |
| 6343 | + | |
| 6344 | + | |
| 6345 | + | |
| 6346 | + | |
| 6347 | + | |
| 6348 | + | |
| 6349 | + | |
6342 | 6350 | | |
6343 | 6351 | | |
6344 | 6352 | | |
| |||
0 commit comments