Does anyone have idea why is memory going up for every request when I'm using Http facade with Laravel Octane ?
Route::get('test', function () {
Http::get('https://swapi.dev/api/people/1');
return memory_get_usage();
});
But when I use Guzzle client like this it's not leaking
Route::get('test', function () {
$client = new \GuzzleHttp\Client();
$client->get('https://swapi.dev/api/people/1');
return memory_get_usage();
});