PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old October 28th, 2005, 02:26 PM
zombie_nation zombie_nation is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 zombie_nation User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
'Allowed memory size exhausted' when updating packages

OS - Fedora Core 4
PHP - 5.0.4

When I run the command "pear upgrade-all" from the command line the system downloads some packages and then I receive the following error messages:

PHP Fatal Error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /usr/share/pear/PEAR/Common.php on line 2058

&

PHP Fatal Error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 16 bytes) in /usr/share/pear/PEAR.php

Any suggestions as to why this is happening?

Reply With Quote
  #2  
Old October 30th, 2005, 11:13 PM
lig's Avatar
lig lig is offline
"Forum Nazi"
Codewalkers Demi-God (4500 - 4999 posts)
 
Join Date: Apr 2007
Location: Jacksonville, Fl
Posts: 4,753 lig User rank is Private First Class (20 - 50 Reputation Level)lig User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 8 h 15 m 54 sec
Reputation Power: 7
RE: 'Allowed memory size exhausted' when updating packages

Maybe you need more RAM... *shrug*

Reply With Quote
  #3  
Old October 31st, 2005, 04:58 PM
zombie_nation zombie_nation is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 zombie_nation User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: 'Allowed memory size exhausted' when updating packages

This cannot have anything to do with the amount of RAM! I already have 512Mb which should be plenty. All I am trying to do is update the packages.

Reply With Quote
  #4  
Old October 31st, 2005, 10:34 PM
lig's Avatar
lig lig is offline
"Forum Nazi"
Codewalkers Demi-God (4500 - 4999 posts)
 
Join Date: Apr 2007
Location: Jacksonville, Fl
Posts: 4,753 lig User rank is Private First Class (20 - 50 Reputation Level)lig User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 Days 8 h 15 m 54 sec
Reputation Power: 7
RE: 'Allowed memory size exhausted' when updating packages

My apologies for offering a suggestion. I will sit down and shut up now.

Reply With Quote
  #5  
Old November 2nd, 2005, 03:41 AM
brut brut is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 367 brut User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 12 sec
Reputation Power: 3
RE: 'Allowed memory size exhausted' when updating packages

Here is a bug report.
You could first try upgrading PEAR only.
Code:
pear upgrade PEAR

I don't knnow if that will work for you or not. If it does, it may remove the package manager in which case (or if it doesn't work at all), you can do the following to reinstall package manager as well as the PEAR core.(see here)

*nix
Code:
lynx -source http://go-pear.org | php


Windows
Code:
php http://go-pear.org


Hope something in there helps.

Reply With Quote
  #6  
Old November 4th, 2005, 05:37 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 25
RE: 'Allowed memory size exhausted' when updating packages

It's work fine for me too, thx.

I just first upgraded pear alone, and then, the others package.

Reply With Quote
  #7  
Old February 13th, 2009, 05:44 PM
akronymn akronymn is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 1 akronymn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 27 sec
Reputation Power: 0
I'm getting the same memory exhausted error. When I try to update PEAR though as described above I get the following error

This application has failed to start because php4ts.dll was not found. Re-installing the application may fix this problem.

I've made sure that dll is in a folder that is included by php.ini but still no luck. Here's my setup

Apache Server: 1.3.29
PHP: 5.2.8
OS: WinXP SP3

Thanks for any thoughts!

Reply With Quote
  #8  
Old July 10th, 2009, 11:05 AM
adrian1 adrian1 is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Jul 2009
Posts: 1 adrian1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 55 sec
Reputation Power: 0
althought a little misguided the guy with the RAM sugestion was right

You need to allocate more memory to PHP script execution.
this can be done by temporarily increasing memory_limit in php.ini

so open your php.ini go down to where it probably says
memory_limit = 8M this is the default

change it to something like
memory_limit = 16M

restart apache so it forces a re-read of the ini file

ideally you would want to change this back once you are done.

Good luck

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > 'Allowed memory size exhausted' when updating packages


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek