Welcome Guest, Not a member yet? Register   Sign In
Memory Exception with Debugbar and Doctrine
#3

(12-18-2019, 01:35 AM)troturier Wrote: Hi!

I was working on a project using CI 4 (in "development" environment) and Doctrine. All was working fine (creating new Entities, adding data to DB via Doctrine, retrieving them ...), but then I asked Doctrine (more specifically the EntityManager) to retrieve all the entries stored in DB for a specific Entity (3 entries in total). Suddenly, my page was loading indefinitely and eventually returned me an ErrorExceptionAllowed memory size of x bytes exhausted (tried to allocate x bytes)

Hi, I have exactly the same issue with CI4+Doctrine+the Debug toolbar enabled. 


Allowed memory size of XXX bytes exhausted
SYSTEMPATH\Debug\Toolbar.php at line 162 

PHP Code:
return json_encode($data); 



Crashing from time to time (every 5 or 10 refresh).
Does anyone have a solution?

Thank you.
Reply


Messages In This Thread
RE: Memory Exception with Debugbar and Doctrine - by b126 - 07-06-2022, 08:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB