|
|
|
|
|
by Mithaldu
4223 days ago
|
|
As far as i understand composer is roughly the same thing as the cpan client. And they just simply disabled the garbage collector for it. What is this guy doing that he needs gigabytes of memory to install a bunch of php libraries? Before: Memory usage: 2194.78MB (peak: 3077.39MB), time: 1324.69s
After: Memory usage: 4542.54MB (peak: 4856.12MB), time: 232.66s
|
|
That's the reason for the huge memory usage. We're slowly moving away from PEAR, but since it works for now not everyone has/will transition.
Edit: I should also point out that there are a few packages that almost everyone uses (PHPMD, PHPCS, phpUnit) that are still mostly pulled from PEAR, though I think phpUnit has a composer option.