Skip to content

[5.4] Memory usage increased since v5.4.16 #18806

@rimace

Description

@rimace
  • Laravel Version: 5.4.18
  • PHP Version: 7.1.3
  • Database Driver & Version: - (isn't needed)
  • Homestead: 5.0

Description:

Memory usage increased with commit 5d9b363 (included since v5.4.16).
I have commands which imports data from CSV files. These commands all use under 7 MB RAM with v5.4.15. Since Laravel 5.4.16 the memory usage has increased to about 300 MB RAM.

Steps To Reproduce:

I could not reduce the code and reproduce the increase to 300 MB, but this code still shows that the memory usage is multiple times higher with 5.4.16 than with older versions:
https://paste.laravel.io/9q1PA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions