PEAR install slow & eventual memory crash

From: Date: Wed, 09 May 2007 15:04:55 +0000
Subject: PEAR install slow & eventual memory crash
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27248@lists.php.net to get a copy of this message
Is there some sort of php extension I can install to make this thing work faster? At the time of death it was at 24 minutes and who knows how long it really would have taken. I realize there is a memory crash and I could up the php memory limit, but how much is really needed to install a 397k file? Thanks! erics:~ eric$ time sudo /opt/php5/bin/pear install phing/phing Password: Did not download optional dependencies: pear/VersionControl_SVN, pear/PHPUnit2, pear/PhpDocumentor, pear/Xdebug, pear/PEAR_PackageFileManager, use --alldeps to download automatically phing/phing can optionally use package "pear/VersionControl_SVN" (version >= 0.3.0alpha1) phing/phing can optionally use package "pear/PHPUnit2" (version >= 2.3.0) phing/phing can optionally use package "pear/PhpDocumentor" (version
= 1.3.0RC3) phing/phing can optionally use package "pear/Xdebug" (version >= 2.0.0beta2)
phing/phing can optionally use package "pear/PEAR_PackageFileManager" (version >= 1.5.2) downloading phing-2.3.0beta1.tgz ... Starting to download phing-2.3.0beta1.tgz (397,990 bytes) .................................................................................done: 397,990 bytes Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 16 bytes) in /opt/php5/lib/php/Archive/Tar.php on line 1239 Call Stack:
   0.0500     242976   1. {main}() /opt/php5/lib/php/pearcmd.php:0
   1.4361    2882384   2. PEAR_Command_Common->run(string(7),
array(0), array(1)) /opt/php5/lib/php/pearcmd.php:312
   1.4362    2883160   3. PEAR_Command_Install->doInstall(string(7),
array(0), array(1)) /opt/php5/lib/php/PEAR/Command/Common.php:285
   1.5442    4568824   4. PEAR_Downloader->download(array(1))
/opt/php5/lib/php/PEAR/Command/Install.php:597
   3.6874    7465424   5. PEAR_Downloader_Package->download()
/opt/php5/lib/php/PEAR/Downloader.php:407
   3.6991    7467816   6.
PEAR_Downloader_Package->_fromUrl(string(47), string(11)) /opt/php5/lib/php/PEAR/Downloader/Package.php:240
   7.7769    7472344   7. PEAR_PackageFile->fromAnyFile(string(36),
long) /opt/php5/lib/php/PEAR/Downloader/Package.php:1468
   7.7775    7473744   8. PEAR_PackageFile->fromTgzFile(string(36),
long) /opt/php5/lib/php/PEAR/PackageFile.php:455
   7.8207    7882016   9. Archive_Tar->listContent()
/opt/php5/lib/php/PEAR/PackageFile.php:304
   7.8215    7882080  10. Archive_Tar->_extractList(string(0),
array(13296), string(4), string(0), string(0)) /opt/php5/lib/php/Archive/Tar.php:220 1487.9916 20965832 11. Archive_Tar->_readHeader(string(512), array(9)) /opt/php5/lib/php/Archive/Tar.php:1435 1488.0680 20968728 12. unpack(string(137), string(512)) /opt/php5/lib/php/Archive/Tar.php:1239 Dump $_SERVER
real    24m52.580s
user    10m19.053s
sys     4m52.025s


« previous php.pear.general (#27248) next »