Jump to content

Fatal error: Allowed memory size of 67108864 bytes exhausted


Recommended Posts

In back office, every time I add a product and save I get below error message

 

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1318912 bytes) in/home/cnpark70/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 127

 

I called my hosting tech support and it looks fine on their side.

Did anyone have a same issue and resolved, please share the solution.

 

my site runs on 1.6.1.0 default bootstrap theme.

www.kocamoca.com

 

Thanks in advance.

Link to comment
Share on other sites

Hi

Try this

Methode 1. In your php.ini add this linememory_limit = 64M ; Or if you have not access to your php.ini so try this other methode:Methode 2. open your .htaccess file and add this line: php_value memory_limit 64M 

Thanks

If you read his error, it looked as if he had massive combinations enabled and tried to allocate 68M of memory.

Edited by Denver Prophit Jr. (see edit history)
Link to comment
Share on other sites

So, if it is due to too large combinations enabled, these two methodes will not work anyways unless I downsize the number of combination?

 

Methode 1. In your php.ini add this line

memory_limit = 64M ;
Methode 2.
open your .htaccess file and add this line:
php_value memory_limit 64M 

Link to comment
Share on other sites

I just tried modifying .htaccess and I get this error and the site will not load properly. Any thought what is going on?

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...