laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.78k stars 296 forks source link

memory leak #236

Closed KTMRules closed 3 years ago

KTMRules commented 3 years ago

Description:

Fresh install Octane and Laravel, create a test get route with:

<?php

namespace App\Http\Controllers;

class TestController extends Controller
{
    public function index()
    {
        return memory_get_usage()/1024/1204;
    }
}`

And you saw memory just goes up an never down..

Steps To Reproduce:

psycongaroo commented 3 years ago

same problem

themsaid commented 3 years ago

Using a fresh Laravel installation, there's no memory leak. The leak seems to be coming from your application code or one of the packages you are using.