Skip to content

[5.2.0-dev] PHP Fatal error: Allowed memory size of X bytes exhausted #39056

Closed
@PhilETaylor

Description

@PhilETaylor

Symfony version(s) affected: 5.2.0-RC1. 5.2.0-dev

Description
As soon as you install composer require knplabs/doctrine-behaviors into a fresh install of Symfony 5.2.0-RC1 (or "next") you get PHP exhausted memory errors

I have tested this, and reproduced it, with a 8Gb memory_limit in PHP 7.4.12 and PHP 8.0.0-dev.

How to reproduce

Simple :)

mkdir my_project && cd my_project
symfony new  --full . --version=next
composer require knplabs/doctrine-behaviors

Possible Solution
Sorry, I don't have a solution, I can only report the issue this time.

Additional context
@jderusse mentioned here that #39015 might be related, but I manually reverted that PR and the problem persisted for me.

screenshot of whole reproducer

Screenshot 2020-11-11 at 15 07 51

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