While trying to generate a database with a command:
php bin/console doctrine:schema:update --force
I'm getting these errors:
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in ...\vendor\doctrine\orm\lib\Doctrine\ORM\EntityManager.php on line 281
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in ...\vendor\doctrine\orm\lib\Doctrine\ORM\EntityManager.php on line 281
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
I have already tried all possible settings of memory_limit in php.ini, nothing helped.
With:
php bin/console doctrine:schema:update --dump-sql
the errors are:
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in ...\vendor\doctrine\orm\lib\Doctrine\ORM\EntityManager.php on line 281
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in ...\vendor\doctrine\orm\lib\Doctrine\ORM\EntityManager.php on line 281
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0