(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 ErrorException: Allowed 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.