console-parallelization icon indicating copy to clipboard operation
console-parallelization copied to clipboard

Memory limit ?

Open DanielCambray opened this issue 1 year ago • 1 comments

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.

DanielCambray avatar Jan 24 '25 21:01 DanielCambray

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 avatar Jan 25 '25 17:01 theofidry