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
Large memory consumtion #4401
Comments
This bug report is missing a link to reproduction on phpstan.org. It will most likely be closed after manual review. |
Thank you, this is very interesting! |
Yeah, it wasn't that hard :) phpstan/phpstan-src@e4b6ffd Results:
Before:
|
Thanks, blazing fast ! :) After re testing on my whole projects before : total 1.51 GB |
Can i expects a release in a short while? |
There was a release on Monday 2 days ago, expect one after this upcoming weekend :) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug report
When a run phpstan i got a large memory consumption (2G~) on code base with 2500 class
After running phpstan with --debug -vvv option i found a class that consume 338MB (!).
Code snippet that reproduces the problem
i made a little repository with a complete reproduction case https://github.com/fezfez/phpstan-memory
Expected output
I think the expected output must be the same usage of memory, because none of the class are used.
The text was updated successfully, but these errors were encountered: