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

Out of memory errors in FileStorage #434

Open
staabm opened this issue Oct 17, 2020 · 2 comments
Open

Out of memory errors in FileStorage #434

staabm opened this issue Oct 17, 2020 · 2 comments

Comments

@staabm
Copy link

staabm commented Oct 17, 2020

One of our users reported php out of memory errors in the FileStorage.

Is there any chance to e.g.

@itsgoingd
Copy link
Owner

Not in the short-term I'm afraid. I'm well aware this is currently a big weakness of Clockwork. Unfortunately the best we can do right now is to suggest collecting less data and collecting data only for relevant requests.

Long-term I will be exploring a complete re-work of the metadata format that would allow as to achieve dramatically lower memory usage all around. No time frame for that right now though.

@mahagr
Copy link
Contributor

mahagr commented Oct 22, 2020

What I am doing is to add __debugInfo() methods to the objects to remove all unnessessary information from the debug output. This helps as there's support for this method. I think we added also some other methods which are looked at, but I cannot remember which they were.

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

3 participants