You can also try setting the memory_limit using -d option: php -d memory_limit=512 symfony
On Nov 30, 4:39 pm, Macvek <mac...@gmail.com> wrote: > Hi, > > I don't think so. It is global PHP property. > You can try running this task locally, on your PC, and then upload the > results to remote server. > > Building propel database can take some time, especially when there are > many relations. > > Regards, > Maciej Aleksandrowicz > > 2010/11/30 HAUSa <jeroen_heeft_behoefte_aan_r...@hotmail.com>: > > > Can I configure this in the .htaccess as well? > > > On 30 nov, 17:31, Macvek <mac...@gmail.com> wrote: > >> Hi, > > >> You should edit 'memory_limit' in your php.ini. I've set it to 128M > >> and every task works well. > > >> Regards, > >> Maciej Aleksandrowicz > > >> 2010/11/30 HAUSa <jeroen_heeft_behoefte_aan_r...@hotmail.com>: > > >> > If I run a task created in my lib/task folder, I get this error: > > >> > PHP Fatal error: Allowed memory size of 134217728 bytes exhausted > >> > (tried to allocate 71 bytes) in /usr/share/symfony/1.4/lib/plugins/ > >> > sfPropelPlugin/lib/vendor/propel/util/PropelConfiguration.php on line > >> > 100 > > >> > Fatal error: Allowed memory size of 134217728 bytes exhausted (tried > >> > to allocate 71 bytes) in /usr/share/symfony/1.4/lib/plugins/ > >> > sfPropelPlugin/lib/vendor/propel/util/PropelConfiguration.php on line > >> > 100 > > >> > In that task, a great batch of XML data gets synchronized in the > >> > database. > >> > How can I prevent this from happening? > > >> > -- > >> > 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 > > > -- > > 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 > > -- 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