| From: | Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> |
|---|---|
| To: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
| Cc: | Michael Paquier <michael(at)paquier(dot)xyz>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Avoid handle leak (src/bin/pg_ctl/pg_ctl.c) |
| Date: | 2025-10-24 12:40:45 |
| Message-ID: | CAEudQAo9ivsAnYYZ5uO_KNTV5+To=uWqEUzWx5tQTXGKV5ZE9g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Em sex., 24 de out. de 2025 às 09:24, Álvaro Herrera <alvherre(at)kurilemu(dot)de>
escreveu:
> On 2025-Oct-24, Ranier Vilela wrote:
>
> > Handles are a scarce Windows resource.
> > The work of freeing these resources is not done by exit(), but by
> > Windows itself, when possible.
> > If applications are not good citizens, these resources will eventually
> > run out.
>
> Hmm? That makes no sense. Do you have references to documentation that
> says the system works the way you claim?
>
There are a bunch of messages on the web.
Some are:
"insufficient system resources exist to complete the requested service"
resource-exhaustion-detected-windows-11
<https://learn.microsoft.com/en-us/answers/questions/4019236/resource-exhaustion-detected-windows-11>
fatal-error-out-of-system-resources
<https://learn.microsoft.com/en-us/answers/questions/2683708/fatal-error-out-of-system-resources>
out-of-memory-error-windows/
<https://appuals.com/out-of-memory-error-windows/>
best regards,
Ranier Vilela
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Yura Sokolov | 2025-10-24 12:43:34 | Re: use SIMD in GetPrivateRefCountEntry() |
| Previous Message | Bertrand Drouvot | 2025-10-24 12:40:30 | Re: Report bytes and transactions actually sent downtream |