This issue is most likely related to poorly written database queries, there is a really good course about that here.
Optimizing Memory Usage in Laravel App with Debugbar Installed
Greetings Laravel Developers,
I'm currently working on a Laravel application that incorporates the Debugbar package for debugging purposes. However, I've noticed that the app's memory usage is averaging between 19-25MB, which I believe might be suboptimal considering the number of models within the application.
I would greatly appreciate any insights, tips, or best practices on how to optimize memory usage specifically in the context of a Laravel application utilizing Debugbar, especially when dealing with a substantial number of models(some of the pages has 200+ models).
Thank you in advance for your expertise and assistance!
Please or to participate in this conversation.