[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-doc
Subject: [PEAR-DOC] [PEAR-BUG] Doc #15107 [Opn->Csd]: Pecl's installation memory restriction is not properly
From: cweiske () php ! net
Date: 2009-05-03 10:56:43
Message-ID: 20090503115606.F08A0193A1A () euk1 ! php ! net
[Download RAW message or body]
Edit report at http://pear.php.net/bugs/bug.php?id=15107&edit=1
ID: 15107
Updated by: cweiske@php.net
Reported By: jschottm at vt dot edu
Summary: Pecl's installation memory restriction is not
properly documented
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation
Operating System: CentOS 5
PHP Version: 5.1.6
-Assigned To:
+Assigned To: cweiske
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cweiske
Since the pecl documentation is not in the pear manual anymore, I added
a note to
http://www.php.net/manual/en/install.pecl.downloads.php
Previous Comments:
------------------------------------------------------------------------
[2008-11-20 23:01:20] jschottm at vt dot edu
Description:
------------
Pecl does not make it clear that it bypasses php.ini's memory limit.
The only error it gives if it exceeds 8MB is this:
pecl install apc
...
"Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
allocate 92160 bytes) in
/usr/share/pear/PEAR/PackageFile/v2/Validator.php on line 1831"
Expected result:
----------------
1. In the day and age when Firefox freshly launched consumes 47.7MB of
memory, keeping an infrequently used installation program limited to 8MB
is needless self denial.
2. The error message is not clear what's causing the problem and in
fact putting it into $SEARCH_ENGINE will lead to recommendations to
increase php.ini's memory limit setting which will not help in this
situation.
The problems created by this are not uncommon. Witness Greg's post
here:
http://aspn.activestate.com/ASPN/Mail/Message/pear-dev/3168978
If it's that common that he must repeat it for the nth time, it should
be addressed.
Actual result:
--------------
1. A reexamination of the memory limit should be done.
2. If the reexamination shows that the memory limit should remain as it
is, the error code should be changed to clearly tell the user how to
resolve the problem:
"Fatal error: pecl's memory limit of 8MB exceeded. To install the
package, use the command 'pear install pecl/$PACKAGENAME'"
By modifying one string, the user is given the solution to the problem.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=15107&edit=1
--
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic