You can also try explicitly setting the memory limit in your project
configuration via:
ini_set("memory_limit", "60M"); or whichever is appropriate.
Expecially long-running tasks can be hogs.

Daniel


On Mar 22, 8:35 am, Jonathan Franks <jonat...@ifranks.com> wrote:
> Hi, I know this issue has been discussed before but I can't find a solution 
> that works for me.
>
> I'm using sf 1.4.9 and php 5.3.3
>
> When I log into my web server by ssh and try to run any symfony command (even 
> just ./symfony) I get this error...
>
> > [22-Mar-2011 15:25:35] PHP Fatal error:  Out of memory (allocated 5242880) 
> > (tried to allocate 7680 bytes) in 
> > /home/fr4nk5/ifds.1/lib/vendor/symfony/lib/task/plugin/sfPluginUninstallTask.class.php
> >  on line 71
>
> However, if I run...
>
> > php -r 'echo ini_get("memory_limit");'
>
> I get 128. Also my hosting provider has confirmed that php at the cli has a 
> memory limit of 128.
>
> As adviced elsewhere, I tried to run this command...
>
> > php -d memory_limit=128 symfony
>
> but I get an error...
>
> > Could not startup.
>
> So, I'm at a loss!
>
> Any suggestions would be extremely appreciated!
>
> Thanks
>
> Jonathan

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to