Re: [PHP-DEV] Shutdown Memory Allowance (aka Soft Memory Limit)

2019-10-16 Thread Bishop Bettini
On Tue, Sep 24, 2019 at 5:39 AM Peter Stalman wrote: > On Tue, Sep 24, 2019 at 12:01 AM Bishop Bettini wrote: > > > > On Tue, Sep 24, 2019 at 2:26 AM Peter Stalman > wrote: > >> > >> When PHP runs out of memory, a fatal error is triggered and whatever > shutdown > >> functions or error handlers

Re: [PHP-DEV] Shutdown Memory Allowance (aka Soft Memory Limit)

2019-09-24 Thread Nikita Popov
On Tue, Sep 24, 2019 at 6:42 PM Dan Ackroyd wrote: > On Tue, 24 Sep 2019 at 07:26, Peter Stalman wrote: > > > > So I would like to suggest an option for setting a shutdown memory > allowance, > > which would be the amount of additional memory allowed to be used by any > > registered error handle

Re: [PHP-DEV] Shutdown Memory Allowance (aka Soft Memory Limit)

2019-09-24 Thread Dan Ackroyd
On Tue, 24 Sep 2019 at 08:01, Bishop Bettini wrote: > > Perhaps I am misunderstanding the scenario. Could you elaborate further, > perhaps provide a concrete example demonstrating where a parachute would be > needed? > For some things, catching exceptions so that other resources/locks can be rele

Re: [PHP-DEV] Shutdown Memory Allowance (aka Soft Memory Limit)

2019-09-24 Thread Dan Ackroyd
On Tue, 24 Sep 2019 at 07:26, Peter Stalman wrote: > > So I would like to suggest an option for setting a shutdown memory allowance, > which would be the amount of additional memory allowed to be used by any > registered error handlers or shutdown functions. I can see the need, and what problem y

Re: [PHP-DEV] Shutdown Memory Allowance (aka Soft Memory Limit)

2019-09-24 Thread Peter Stalman
On Tue, Sep 24, 2019 at 12:01 AM Bishop Bettini wrote: > > On Tue, Sep 24, 2019 at 2:26 AM Peter Stalman wrote: >> >> When PHP runs out of memory, a fatal error is triggered and whatever shutdown >> functions or error handlers take over. >> >> However, in the case of error logging, or just loggin

Re: [PHP-DEV] Shutdown Memory Allowance (aka Soft Memory Limit)

2019-09-24 Thread Bishop Bettini
On Tue, Sep 24, 2019 at 2:26 AM Peter Stalman wrote: > When PHP runs out of memory, a fatal error is triggered and whatever > shutdown > functions or error handlers take over. > > However, in the case of error logging, or just logging in general, there > often > needs to be additional memory used

[PHP-DEV] Shutdown Memory Allowance (aka Soft Memory Limit)

2019-09-23 Thread Peter Stalman
Hi Internals, When PHP runs out of memory, a fatal error is triggered and whatever shutdown functions or error handlers take over. However, in the case of error logging, or just logging in general, there often needs to be additional memory used to accommodate the final logging process. This can