Recently i noticed bunch of these error in my laravel.log
[2017-04-18 14:23:27] local.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 6284096 bytes) in /var/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:335
Stack trace:
#0 {main}
I thought its the DB::enableQueryLog(); which i used here and there, but even after removing those querylogs i still get the problem.
Is there a way to debug which query (if its a query) or a file (controller/command/job) is causing this ?
Thanks in advance.