Intro
While running inside a complex web application, a spawned php7 process tries to allocate illegal amount of memory (18446744069414584466 bytes) whe
Out of nowhere, this worked for me like charm
$this->oauth->fetch($endpoint, [], 'GET', ['Accept' => 'application/json']);
Becomes
$this->oauth->fetch($endpoint, ['fix'], 'GET', ['Accept' => 'application/json']);
Yes, just fill the second parameter and don't leave it empty.