Skip to content

Memory limit ? #303

Open
Open
@DanielCambray

Description

@DanielCambray

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions