on-internet
← Community

"Fatal error: Allowed memory size [...] exhausted" when autoloading a custom CodeIgniter library defined as an extension of CI_Controller [duplicate]

Stack Overflow ·

I've custom library class Test extends CI_Controller { public function __construct() { parent::__construct(); } public function abc() { // some code } } When I add this library to autoload, I get the following error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in C:\xampp\htdocs...\system\core\Loader.php on line 495

Comments

Sign in or sign up to comment and upvote.

No comments yet.