%99 of the time it's the server configuration
memory_limit
Needs to be increased --
To change the memory allocation limit permanently for all PHP
scripts running on the server, modify the PHP.INI configuration file of
the server (location depending on your OS and installation method).
Search for memory_limit after opening the file in an editor.
If the
memory_limit = 12M doesn’t exist, add the following line. If it’s there,
modify the value of the memory_limit:
memory_limit = 12M
The 12M sets the limit to 12 megabytes (12582912 bytes). Change to the value you desirable