Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiler Symfony and OutOfMemoryException #96

Open
mehdi-ghezal opened this issue Mar 10, 2016 · 0 comments
Open

Profiler Symfony and OutOfMemoryException #96

mehdi-ghezal opened this issue Mar 10, 2016 · 0 comments

Comments

@mehdi-ghezal
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant