Commit 610fd32
authored
Increase test_memory_cleanup target ratio (#2131)
(fix local failure on macos-arm64)
This is a very crude memory cleanup test which runs queries in a loop, and
compares the starting and ending RSS to catch large leaks.
It fails at the current 2x ratio on macos-arm64. Increase the ratio to 2.5.
To confirm that this is not masking an arch-specific
leak, I ran 10x iterations of the target function.
- `final / initial` RSS for 100 runs vs 1000 runs in the
`use_many_buffers` loop:
```
(Pdb) 1029292032 / 431456256
2.3856231487810433
(Pdb) p 1023819776 / 427802624
2.393205928535866
```1 parent 40b6880 commit 610fd32
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3385 | 3385 | | |
3386 | 3386 | | |
3387 | 3387 | | |
3388 | | - | |
| 3388 | + | |
3389 | 3389 | | |
3390 | 3390 | | |
3391 | 3391 | | |
| |||
0 commit comments