Question

I am trying to rebuild a symfony 1.4 database by running the following command:

./symfony propel:build-sql

When I run the command, I get the following error:

PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 89 bytes) in /lib/vendor/symfony/symfony-1.4.19/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/classes/propel/engine/database/model/Table.php on line 554

I checked my memory_limit configuration in /etc/php5/cli/php.ini

The line is as follows:

memory_limit = -1

Which specifies no limit on memory, so I don't understand what is causing the error, as there is no restriction on memory. What could be causing this?

Was it helpful?

Solution

Have you tried setting the memory_limit to something like "1024M"?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top