diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-04-30 20:09:31 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-04-30 20:09:31 -0400 |
commit | 23078689a9921968ac0873b017be6e7f772f10bc (patch) | |
tree | 6fef1968de6ded86c972eb2e0a234ddd5bede4e1 /contrib/jsonb_plperl/expected | |
parent | 73042b8d136fe985746dc762fcb2a4356460842d (diff) | |
download | postgresql-23078689a9921968ac0873b017be6e7f772f10bc.tar.gz postgresql-23078689a9921968ac0873b017be6e7f772f10bc.zip |
Does it help to wait before reattaching?
Revert the map/unmap dance I tried in commit 73042b8d1; that helps
not at all.
Instead, speculate that the unwanted allocation is being done on
another thread, and thus timing variations explain the apparent
unpredictability. Temporarily add a 1-second sleep before the
VirtualFree call, in hopes that any such other threads will
quiesce and not jog our elbow.
This is obviously not a desirable long-term fix, but as a means of
investigation it seems useful.
Discussion: https://postgr.es/m/25495.1524517820@sss.pgh.pa.us
Diffstat (limited to 'contrib/jsonb_plperl/expected')
0 files changed, 0 insertions, 0 deletions