You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running phpstan with parallel processing enabled with verbose mode, it shows invalid memory consumption.
Latest version used (0.12.81), 8 logical cores on my laptop.
Code snippet that reproduces the problem
phpstan analyse -vvv src
Note: Using configuration file /app/phpstan.neon.dist.
Result cache not used because the cache file does not exist.
5946/5946 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% 2 mins/2 mins 154.5 MiB
Result cache is saved.
[OK] No errors
Used memory: 306.39 MB
Expected output
By checking the system memory, it really used about 6 GB. So I'd expect that number to be displayed.
The text was updated successfully, but these errors were encountered:
The child processes would have to communicate that back to the master process before terminating. As this is extra work I consider this a feature request. Thanks.
Any plans doing this one? I think it would be great guard for RAM consumption since any developer/company using verbose mode in CI could easily detect major increases after upgrading to newer versions of PHPStan.
Bug report
While running phpstan with parallel processing enabled with verbose mode, it shows invalid memory consumption.
Latest version used (0.12.81), 8 logical cores on my laptop.
Code snippet that reproduces the problem
Expected output
By checking the system memory, it really used about 6 GB. So I'd expect that number to be displayed.
The text was updated successfully, but these errors were encountered: