Skip to content

Out of memory on "artisan optimize" #64

@ilvalerione

Description

@ilvalerione

Laravel Package Version

0.2.0

Laravel Version

12

PHP Version

8.3

Database Driver & Version

No response

Description

Including the MCP web routes causes the allowed memory size running artisan optimize.

Steps To Reproduce

After including the ai.php file with a web route:

MCP::web('/mcp', MyServer::class);

run the optimize command:

php artisan optimize

The allowed memory size error should breaks the process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions