Support the ongoing development of Laravel.io →
Installation Packages

Somehow I cannot do a package discovery cause it runs out of memory, I did not have this issue on a other machine with this project.

> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover

VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command.


VirtualFree() failed: [0x000001e7] Attempt to access invalid address.


VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command.


VirtualFree() failed: [0x000001e7] Attempt to access invalid address.

PHP Fatal error:  Out of memory (allocated 1419771904) (tried to allocate 4096 bytes) in C:\xampp\htdocs\Octofin\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php on line 50

VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command.


VirtualFree() failed: [0x000001e7] Attempt to access invalid address.

PHP Fatal error:  Out of memory (allocated 1419771904) (tried to allocate 32768 bytes) in C:\xampp\htdocs\Octofin\vendor\symfony\debug\Exception\FatalErrorException.php on line 1
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 255
Last updated 2 years ago.
0
moderator

I think you need to check the difference between the systems. Maybe try to remove the vendor directory and reinstall?

1419771904 bytes is 1354 MB so that is really a lot of memory.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

xJoeyv xjoeyv Joined 17 Sep 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.