Strange Memory Limit Error {PHP}

  • BooGiE_MaN
  • Proficient
  • Proficient
  • User avatar
  • Posts: 387
  • Loc: Cape Town, South Africa

Post 3+ Months Ago

I have this Fatal Error message:

Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 19456 bytes) in {location}../library/Zend/Loader/Autoloader.php on line 442

Its for a system called Simple Invoices www.simpleinvoice.com

Please help urgently
Thanks in advance!
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Posts: 9099
  • Loc: Seattle, WA & Phoenix, AZ

Post 3+ Months Ago

You need to increase your memory limit that PHP can use. There are a few ways that you can probably do it. One way is possibly through your .htaccess file if you are using Apache:

APACHE Code: [ Select ]
php_value memory_limit 128M


That would raise the memory limit to 128 Megabytes. Feel free to set it to whatever you need. If you are unable to change it via a .htaccess file you may be able to do it by including a php.ini file on the root of your website with the following:

Code: [ Select ]
memory_limit = 128M


If that does not work either you may be able to do it via using the PHP function ini_set in your PHP script:

PHP Code: [ Select ]
ini_set('memory_limit','128M');


Many hosts will disable that function though. Let me know if any of this helps with your problem.
  • cesaro
  • Novice
  • Novice
  • User avatar
  • Posts: 18
  • Loc: DNSEURO.COM

Post 3+ Months Ago

I think you are on a shared hosting that limit user's memory usage. Try at other hosts, then.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 45 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.