Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory limit ? #303

Open
DanielCambray opened this issue Jan 24, 2025 · 1 comment
Open

Memory limit ? #303

DanielCambray opened this issue Jan 24, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@DanielCambray
Copy link

Hi,

I have a bunch of process that are very memory consuming. When I launch the command in symfony, I got :

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/vendor/doctrine/orm/src/UnitOfWork.php on line 2469

I thought that if I ran the script with php -dmemory_limit=-1 ./bin/console app:my-command, I will no longer have problem. But I have still the same issue. Any reason why the parameter passed in command line is not taken into account when using ParallelCommand ?

Thanks.

@theofidry
Copy link
Collaborator

I'll need to check that the settings of the parent process are correctly forwarded to the child ones, it may not be the case.

@theofidry theofidry added the bug Something isn't working label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants