Bug 460072

Summary: pecl command needs more memory on a 64bit box
Product: Red Hat Enterprise Linux 5 Reporter: Alain D D Williams <addw>
Component: php-pearAssignee: Joe Orton <jorton>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-27 13:47:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alain D D Williams 2008-08-25 23:10:00 UTC
Description of problem:
Using pecl to install things (ex xdebug) it runs out of memory.

Version-Release number of selected component (if applicable):
php-pear-1.4.9-4.el5.1

How reproducible:
Every time, try the command:
pecl install xdebug

Steps to Reproduce:
1. Run the command above on a 64 bit machine.
  
Actual results:
pecl install xdebug
downloading xdebug-2.0.3.tgz ...
Starting to download xdebug-2.0.3.tgz (286,325 bytes)
.....................done: 286,325 bytes

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /usr/share/pear/PEAR/PackageFile/v2/Validator.php on line 1618


Expected results:
To download/compile/install

Additional info:

This can be fixed by including ''-d memory_limit=16M'' in /usr/bin/pecl

Comment 1 Joe Orton 2008-08-28 15:58:54 UTC
Thanks for the report.

Comment 6 errata-xmlrpc 2009-05-27 13:47:05 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1071.html