Locate your php.ini file, which is commonly found in C:\WINDOWS\ on Windows machines or /etc/ on Linux machines. In this file, search for this line:
memory_limit = 8M
Change the "8M" value to reflect the memory limit you'd like to use, such as:
memory_limit = 20M
After making this change, save your php.ini file and restart your webserver.
Posted in: Sugar CRM