0

for a few days I have been having difficulty performing the cache:clear command on my symfony 5.4 application. I have already increased the memory_limit of php, which I don't understand is why it happens suddenly when everything was going well before.

I think a bundle is the problem but I have no way of knowing which one. Here is the error I get :

 // Clearing the cache for the dev environment with debug true                                                          


Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097288 bytes) in /var/www/oasis/vendor/symfony/cache/Adapter/PhpArrayAdapter.php on line 362

In PhpArrayAdapter.php line 362:
                                                                                             
  Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097288 bytes) 

do you know a way to fix this problem please ?

hous
  • 2,577
  • 2
  • 27
  • 66
oracle972
  • 77
  • 10

0 Answers0