Skip to content

Conversation

@ondrejmirtes
Copy link
Member

@ondrejmirtes ondrejmirtes changed the base branch from 1.6.x to 1.5.x March 28, 2022 19:30
@staabm
Copy link
Contributor

staabm commented Mar 28, 2022

In phpstan-dba I am also persisting Type* objects to a file.
Hopefully dropping these set_state methods will not kill this feature for me :)

@ondrejmirtes
Copy link
Member Author

Oh, good to know. Maybe you could persist their description only, and then unserialize the description using TypeStringResolver?

@staabm
Copy link
Contributor

staabm commented Mar 28, 2022

Will double check tomorrow

@ondrejmirtes
Copy link
Member Author

Don't worry, I'm not gonna release a BC break, I'm gonna keep the cleanup for 2.0 :) Just suggesting something that I'm probably gonna do here too.

This reverts commit 81f168c.
@herndlm
Copy link
Contributor

herndlm commented Mar 28, 2022

nice pragmatical solution for the MemoryCacheStorage

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

Successfully merging this pull request may close these issues.

Memory size exhausted for all memory limit OOM when parsing a snippet

3 participants