PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PEAR » PEAR » Bug #6288

[patch] pecl commands hit memory limit

Details

Submitted2005-12-19 15:20 UTC
Frombjoern at xrow dot de
Assignedpajoye
StatusBogus
PackagePEAR
PHP Version4.4.0
OSsuse 9.3
Roadmaps(Not assigned)

Comments

[2005-12-19 15:20 UTC] bjoern at xrow dot de

Description:
------------
p15200145:~/software # pecl install APC
downloading APC-3.0.8.tar ...
Starting to download APC-3.0.8.tar (-1 bytes)
.............................done: 395,776 bytes

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 23040 bytes) in /usr/share/php/Archive/Tar.php on line 510
Allowed memory size of 8388608 bytes exhausted (tried to allocate 0 bytes)

This command resolves in the execution of /usr/bin/php -C -n -q -d include_path=/usr/share/php -d output_buffering=1 -d safe_mode=0 /usr/share/php/peclcmd.php install APC

the flag -n is is skipping my php.ini file that is configured to allow 60 MB of ram

I woudl recommend dropping this flag or setting the ram limit in the peclcmd.php or pearcmd.php

This is my first php bug report so go easy on me, if I did something wrong :-)

[2005-12-19 15:26 UTC] bjoern at xrow dot de

/usr/bin/pear does not have the option -n, so i guess it is fine