Skip to content

Profiler Symfony and OutOfMemoryException #96

Description

@mehdi-ghezal

Hi,

In case of large data in cache, we got a OutOfMemoryException in the profiler :

OutOfMemoryException in FileProfilerStorage.php line 159:
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 33300466 bytes)

A simple workaround is to disable variables tracking

stash:
    tracking_values: false

I don't have time to propose a PR but if someone want to work on this, he can begin to have a look in Tedivm\StashBundle\Collector\CacheDataCollector and deduplicate data.

Mehdi

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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