Re: Fatal error: Out of memory
This is not a problem with SugarCRM. Sugar *does* have significant limitations because it uses PHP for a lot of memory intensive activities (e.g., try create a 30-thousand member target list).
You need to make sure that both your memory sizes in PHP.INI and in your Webserver (httpd.conf) are both configured to allow the php code to allocate more memory. Your's is currently set to 30MB, it needs to be more. PHP is a great interpretive language but it is a memory pig.
First, run php to have it tell you where the php.ini file IT is using is located:
Code:
[john@bubba etc]# php -i |grep ini
Configuration File (php.ini) Path => /usr/local/etc/php.ini
Then edit that file and change these 3 variables (mine are set as follows):
Code:
memory_limit = 512M ; Maximum amount of memory a script may consume (512MB)
post_max_size = 60M
upload_max_filesize = 60M
Restart apache if you are using that.
Try again.

David
--
David Beecher, Sr. Solutions Architect and Integration Specialist
http://www.tekops.com
702-933-6275
We use SugarCRM CE ourselves and Implement it for customers nationwide.
We are a SugarCRM contributor and our solutions have been used by SugarCRM.
Bookmarks