Skip to content

ide-helper:meta Out of memory with 3.5, 3.6 #1729

@MightyPork

Description

@MightyPork

Versions:

  • ide-helper Version: 3.5.0, 3.6.0
  • Laravel Version: 11.20
  • PHP Version: 8.4

Description:

after upgrading ide helper to any version newer than 3.4.0, the ide-helper:meta command on our project goes into some infinite loop and ends with Out of memory error. Reverting this one library back fixed the issue.

A new helper file was written to _ide_helper.php
php artisan ide-helper:meta
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 151552 bytes) in .../vendor/barryvdh/laravel-ide-helper/php-templates/translations.php on line 27
2025-08-22 14:32:46.179 [ERROR]   Log event: UnhandledException  
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in .../vendor/laravel/serializable-closure/src/Support/ReflectionClosure.php on line 141
make: *** [Makefile:166: idehelper] Error 255
Script make idehelper handling the post-update-cmd event returned with error code 2
composer update  138.32s user 1.24s system 94% cpu 2:26.95 total

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions