Skip to content

artisan call in route memory leaks #410

@fykyx521

Description

@fykyx521
  • Octane Version: v1.0.15
  • Laravel Version: v8.64.0
  • PHP Version: 8.0.3
  • Server & Version: Swoole 4.6.6
  • Database Driver & Version: no

Description:

startup

php artisan octane:start --workers=1 --port=8000 --task-workers=4 --server=swoole

route (route/api.php)

Route::get('/hello', function (Request $request) { \Illuminate\Support\Facades\Artisan::call('hello'); return 'hello'; });

HelloCommand

`

line('hello'); logger('hello'); return Command::SUCCESS; } } ` ### Steps To Reproduce: ` 200 GET /api/hello ....................................................................................................................................................................................... 55.55 mb 7.16 ms 200 GET /api/hello ....................................................................................................................................................................................... 55.68 mb 5.48 ms 200 GET /api/hello ....................................................................................................................................................................................... 55.82 mb 4.76 ms 200 GET /api/hello ....................................................................................................................................................................................... 55.95 mb 5.69 ms 200 GET /api/hello ....................................................................................................................................................................................... 56.09 mb 4.64 ms 200 GET /api/hello ....................................................................................................................................................................................... 56.22 mb 4.46 ms 200 GET /api/hello ....................................................................................................................................................................................... 56.36 mb 4.74 ms 200 GET /api/hello ....................................................................................................................................................................................... 56.49 mb 4.94 ms 200 GET /api/hello ....................................................................................................................................................................................... 56.63 mb 4.57 ms 200 GET /api/hello ....................................................................................................................................................................................... 56.76 mb 4.46 ms 200 GET /api/hello ....................................................................................................................................................................................... 56.90 mb 5.04 ms `

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions