-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
Possible memory leak - 9 GB of RAM and 100 % processor use in 1 min, with only couple of Symfony packages #355
Comments
Info from Travis buildIn one project I've used Travis to crawl over 500 pages in 55 minutes, but this thsi one breaks Travis. The memory leak bubbles on It might give you a clue to solve this: |
I just reproduced this with much less dependencies: deprecated-packages/dummy-phar#2 It will be probably something related to Symfony packages. This is {
"bin": ["bin/run"],
"require": {
"php": "^7.1",
"composer/xdebug-handler": "^1.3",
"symfony/http-kernel": "^4.2",
"symfony/console": "^4.2",
"symfony/dependency-injection": "^4.2",
"symfony/config": "^4.2",
"symfony/yaml": "^4.2"
},
"autoload": {
"psr-4": {
"DummyPhar\\": "src"
}
}
} |
I see. I can see easily 3 ways were the leak can be (in order of likeliness):
The third case would be by far the worst one since it would likely require to tinker the Phar C extension... Do you observe the same issue with |
@TomasVotruba is the issue still present? PHP-Scoper should be significantly ligher (on HumbugBox master) |
I haven't tried since, so it's possibly gone. Let's close it for now |
Still the same repository to create prefixed
rector.phar
.https://github.com/rectorphp/compiler
When I run
bin/console compile
in that repository, I have to turn off my PHPStorm and my Chrome, or the box/scoper will crash it and disable all my Chrome extensions.It makes debugging very hard.
The text was updated successfully, but these errors were encountered: