Opened 11 years ago
Closed 11 years ago
#33806 closed task (blessed) (invalid)
High memory usage in the unit test suite
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Build/Test Tools | Keywords: | needs-testing |
| Focuses: | Cc: |
Description
Running core's phpunit test suite (with the multisite flag enabled) causes PHP to use around 8GB of memory on my machine.
Let's investigate and see what, if anything, can be done.
Change History (6)
#2
@
11 years ago
Mine peaked at 232MB in a VM with 1GB memory. PHP 5.5.9, PHPUnit 4.3.5. I need to update my VM... :)
#3
@
11 years ago
phpunit -c tests/phpunit/multisite.xml consumed 225MB here. PHP 5.6.12, PHPUnit 4.8.6 on Fedora 22.
This ticket was mentioned in Slack in #core by netweb. View the logs.
11 years ago
Note: See
TracTickets for help on using
tickets.
Running
phpunit -c tests/phpunit/multisite.xmlhere just now PHP memory peaked at 237mbConfig: Locally installed PHP 5.6 via Home Brew, PHPUnit 4.7.7 via Composer on Mac OS X with 16gb RAM