forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2307868
committed
Does it help to wait before reattaching?
Revert the map/unmap dance I tried in commit73042b8; that helpsnot at all.Instead, speculate that the unwanted allocation is being done onanother thread, and thus timing variations explain the apparentunpredictability. Temporarily add a 1-second sleep before theVirtualFree call, in hopes that any such other threads willquiesce and not jog our elbow.This is obviously not a desirable long-term fix, but as a means ofinvestigation it seems useful.Discussion:https://postgr.es/m/25495.1524517820@sss.pgh.pa.us1 parent73042b8 commit2307868
1 file changed
+4
-15
lines changedLines changed: 4 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
456 | 456 |
| |
457 | 457 |
| |
458 | 458 |
| |
| 459 | + | |
| 460 | + | |
459 | 461 |
| |
460 |
| - | |
461 |
| - | |
462 |
| - | |
463 |
| - | |
464 |
| - | |
465 |
| - | |
466 |
| - | |
467 |
| - | |
468 |
| - | |
469 |
| - | |
470 |
| - | |
471 |
| - | |
472 |
| - | |
473 |
| - | |
474 |
| - | |
| 462 | + | |
| 463 | + | |
475 | 464 |
| |
476 | 465 |
| |
477 | 466 |
| |
|
0 commit comments
Comments
(0)