Closed
Description
Symfony version(s) affected
6.1.*
Description
I have a project using symfony and swoole runtime.
In development, the memory will not release after request finished.
After some research, we found https://github.com/BitOne/php-meminfo and use find that the \Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener::$authenticatorsInfo will increase after request finished, then the process OOM.
How to reproduce
- Install symfony and swoole runtime or any other long-process runtime;
- Login in user;
- Refresh the page and watch the system memory refresh;
Possible Solution
implement the ResetInterface and reset $authenticatorsInfo in reset function.
Additional Context
No response