Re: PHP 8 (or earlier) RFC Proposal

From: Date: Tue, 22 Aug 2017 22:01:26 +0000
Subject: Re: PHP 8 (or earlier) RFC Proposal
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-100280@lists.php.net to get a copy of this message
Hi, Dan Ackroyd wrote:
On 19 August 2017 at 15:28, Admin NxPoint <admin.nxpoint@gmail.com> wrote:
Hi, At this moment PHP doesn't know how to use the SWAP memory from linux,
Why would it need to 'know' how to use swap memory? My understanding is that the normal way to get a program to use swap memory is to: i) Enable swapping in the operating system. ii) Set the program to use more memory than is physically usable.
To clarify to uh… Admin?, PHP will use swap memory automatically; PHP doesn't manage swap memory itself, that's the OS's job, but PHP uses the same virtual memory as any other process does, so if the OS allows swapping, PHP may end up using it. If the PHP memory limit is the problem, raise it or disable it.
I think either you've misunderstood how swap works, or haven't explained why that isn't suitable for your use case.
-- Andrea Faulds https://ajf.me/

« previous php.internals (#100280) next »