Closed
Description
Symfony version(s) affected: 4.*
Description
- Create Doctrine's EventSubscriber.
- Inject into in some service.
- Inject into that service EntityManagerInterface
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in var/cache/dev/ContainerLFEgQjr/getDoctrine_Dbal_DefaultConnectionService.php on line 1
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in var/cache/dev/ContainerLFEgQjr/getDoctrine_Dbal_DefaultConnectionService.php on line 1
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in vendor/symfony/debug/Exception/OutOfMemoryException.php on line 1
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in vendor/symfony/debug/Exception/OutOfMemoryException.php on line 1
It worked in symfony 3.3 but it didn't work after update to symfony 4.1
How to reproduce
https://github.com/ln-e/symfony_out_of_memory
Possible Solution
Additional context
Metadata
Metadata
Assignees
Labels
No labels