Andy Baird
2013-12-30 04:10:10 UTC
I'm currently deploying my Symfony2 app to AWS small instances (1.7G
memory) behind a load balancer.
I believe my codebase may have reached a point where clearing the cache now
causes memory errors. When I perform an app/console cache:clear --env=prod,
I get the following error after about 20 seconds:
Clearing the cache for the prod environment with debug false
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried
to alocate 4304 bytes) in
/home/app/www/production/vendor/symfony/symfony/src/ymfony/Component/Filesystem/Filesystem.php
on line 132
It doesn't appear to have any negative side affects - the web app keeps
running just fine, but this seems alarming to me. Is there anything I can
do to fix or further investigate this?
--
--
If you want to report a vulnerability issue on Symfony, please read the procedure on http://symfony.com/security
You received this message because you are subscribed to the Google
Groups "Symfony2" group.
To post to this group, send email to symfony2-/***@public.gmane.org
To unsubscribe from this group, send email to
symfony2+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en
---
You received this message because you are subscribed to the Google Groups "Symfony2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to symfony2+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
memory) behind a load balancer.
I believe my codebase may have reached a point where clearing the cache now
causes memory errors. When I perform an app/console cache:clear --env=prod,
I get the following error after about 20 seconds:
Clearing the cache for the prod environment with debug false
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried
to alocate 4304 bytes) in
/home/app/www/production/vendor/symfony/symfony/src/ymfony/Component/Filesystem/Filesystem.php
on line 132
It doesn't appear to have any negative side affects - the web app keeps
running just fine, but this seems alarming to me. Is there anything I can
do to fix or further investigate this?
--
--
If you want to report a vulnerability issue on Symfony, please read the procedure on http://symfony.com/security
You received this message because you are subscribed to the Google
Groups "Symfony2" group.
To post to this group, send email to symfony2-/***@public.gmane.org
To unsubscribe from this group, send email to
symfony2+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en
---
You received this message because you are subscribed to the Google Groups "Symfony2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to symfony2+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.