You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be a memory issue with my specific application context. My bad 😬
On second thought, here is some more information.
The issue occurs when running my PHPUnit test suite. When the OomBootstrapper is setup, memory keeps increasing during the running of the test suite until it hits the limit. If I remove the whole bootstrappers setup, the memory increase is gone and the test suite runs fine.
I have found a solution. The memory leak seems to stem from register_shutdown_function() handler being called over and over again. This little tricks makes my memory issue go away:
I'm trying to use the
OomBootstrapper
, but I get aBindingResolutionException
.Environment
2.26
3.29.0
8.2.3
2.5.4
10.0.0
Steps
app.config
.OomBootstrapper
in both kernel classes as per the documentation.Stack trace
Details
The text was updated successfully, but these errors were encountered: