Skip to content

Memory leak with functional tests (Behat)  #48382

Closed
@yobrx

Description

@yobrx

Symfony version(s) affected

6.2-RC2

Description

I have a massive memory leak with my behat tests on a big application :

  • 713MB after 10 scenarios with 6.2-RC2 vs 250MB with 6.1, and crash after around 50 scenarios (limit of 2GB memory)
  • Time executions are equals.

There is an improvement compared to the 6.2-rc1 which crashes after 20 scenarios.

Screenshot from Blackfire :

Symfony 6.1

Symfony 6.2-RC2

How to reproduce

I dont' have facility to reproduce the bug, run a lot of functional tests on a big project...

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions