(01-31-2023, 07:06 PM)kenjis Wrote: Quote:Allowed memory size of 134217728 bytes exhausted (tried to allocate 65015808 bytes)
APPPATH\Views\errors\html\error_exception.php at line 96
It seems difficult to improve the error message, because it is memory shortage.
1. increase PHP memory
2. comment out the PHP code in error_exception.php around line 96
3. set CI_ENVIRONMENT to production and check the log file
1. Increasing the memory from 128MB to 1GB didn't helped
2. Commenting line 96 in the view did the job and I got the proper error displayed (see below)
3. And the log is also properly fed
Thank you.
But, don't you think it's a bit sad that this "error_exception" view prevents this message from coming up when it could be very useful in development?
Can this be improved in next version?
For info, the error was :
Doctrine\Common\Annotations\AnnotationException
[Semantical Error] The annotation "@ORM\Table" in class Test was never imported. Did you maybe forget to add a "use" statement for this annotation?