ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pear-dev
pear-dev
Re: [PEAR-DEV] pecl install hits memory limit
by Daniel Convissor other posts by this author
Jun 19 2006 11:23AM messages near this date
Re: [PEAR-DEV] pecl install hits memory limit | [PEAR-DEV] Re: [PEAR-QA] Re: [PEAR-DEV] Re: [PEAR] [ANNOUNCEMENT] Structures_DataGrid-0.7.0 (beta) Released.
Hi Pierre:

On Mon, Jun 19, 2006 at 07:58:42PM +0200, Pierre wrote:
>  
>  On 6/19/06, Daniel Convissor <danielc@[...].com> wrote:
> 
>  >First, the installer should override memory limits.
>  
>  No, check the archive to get the various reasons, as well as the bug
>  system. My favourite is sanity. The user must do it himself, he must
>  know what he is doing while changing it.

I understand not wanting to totally elimiate memory limits.  But 8M is way 
way too low for some actions like this.

Also, a user calling "pecl install json" should not have to think about 
going out of their way to manually set the memory limit.  The process must 
work, out of the box.


>  >Second, the installer
>  >is ignoring my php.ini file, which sets the limit to 80 megs.
>  
>  Are you sure it uses this php.ini? or add "-dmemory_limit=0" in the
>  pear sh file.

You mean the pecl shell file in /usr/local/bin.  Adding that renders:

   Allowed memory size of 0 bytes exhausted (tried to allocate 2 bytes)

If I set it to "80M" there or in pearcmd.php, we're good.

Also, when I called phpinfo() from pearcmd.php, it finds my php.ini file 
correctly.

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Daniel Convissor
Pierre
Greg Beaver
Daniel Convissor
Daniel Convissor
Daniel Convissor

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved