|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
'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? |
|
#2
|
||||
|
||||
|
RE: 'Allowed memory size exhausted' when updating packages
Maybe you need more RAM... *shrug*
|
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
||||
|
||||
|
RE: 'Allowed memory size exhausted' when updating packages
My apologies for offering a suggestion. I will sit down and shut up now.
|
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
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. |
|
#7
|
|||
|
|||
|
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! |
|
#8
|
|||
|
|||
|
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 ![]() |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > 'Allowed memory size exhausted' when updating packages |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|