Re: installation failure - memory allocation????

From: Date: Wed, 26 Mar 2008 07:50:51 +0000
Subject: Re: installation failure - memory allocation????
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28688@lists.php.net to get a copy of this message
Hi: What do you mean increasing the memory size? The error is Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in /usr/PEAR/temp/PEAR/Installer.php on line 1297 Allowed memory size of 8388608 bytes exhausted (tried to allocate 5 bytes) With 1.3 GB free already, over 3000 X more than the 0.4 MB it needs??? Also, it then reports failure on a 5 byte allocation. Something else is amiss. Maybe the script allocates that 8388608 and uses it all up, but I couldn't find where the allocation was initiated in the script, looking at line 1297 in installer.php sheds no light.... I tried your other suggestion, but got: ScottSuSE:/usr/PEAR # ScottSuSE:/usr/PEAR # peardev install --all-deps MDB2 bash: peardev: command not found Please help. Someone. Thanks, Scott ----- Original Message ---- From: Mark Steudel <msteudel@gmail.com> To: Scott Brown <scotflyr@pacbell.net>; pear-general@lists.php.net Sent: Tuesday, March 25, 2008 8:49:01 AM Subject: RE: [PEAR] installation failure - memory allocation???? Another thing to try if increasing the memory size doesn't work is install using peardev instead e.g. peardev install --all-deps MDB2 MS -----Original Message----- From: Scott Brown [mailto:scotflyr@pacbell.net] Sent: Monday, March 24, 2008 10:35 PM To: pear-general@lists.php.net Subject: [PEAR] installation failure - memory allocation???? Hi: I've been repeatedly trying to install pear and mdb2 but I keep getting a memory allocation error. I know it is not a real memory error as there are 1.3 GB free, with a total of 3.0 GB, so lots of RAM and disk space as well. Could it be the 64k machine? 64K SuSE 10.0 Linux. I don't know. I'm a newbie to this, so any help would be appreciated. My installation of PEAR/MDB2 fails with the following memory allocation error. It should be noted that my memory check indicates 1.3 GB of free RAM at the time this is executed: ______________________________________________________ ScottSuSE:/usr/PEAR # php go-pear.php Welcome to go-pear! Go-pear will install the 'pear' command and all the files needed by it. This command is your tool for PEAR installation and maintenance. Go-pear also lets you download and install the following optional PEAR packages: PEAR_Frontend_Web-beta, PEAR_Frontend_Gtk2, MDB2. If you wish to abort, press Control-C now, or press Enter to continue: HTTP proxy (http://user:password@proxy.myhost.com:port), or Enter for none:: Below is a suggested file layout for your new PEAR installation. To change individual locations, type the number in front of the directory. Type 'all' to change all of them or simply press Enter to accept these locations. 1. Installation prefix ($prefix) : /usr/PEAR 2. Temporary files directory : $prefix/temp 3. Binaries directory : $prefix/bin 4. PHP code directory ($php_dir) : $prefix/PEAR 5. Documentation base directory : $php_dir/docs 6. Data base directory : $php_dir/data 7. Tests base directory : $php_dir/tests 1-7, 'all' or Enter to continue: The following PEAR packages are bundled with PHP: PEAR_Frontend_Web-beta, PEAR_Frontend_Gtk2, MDB2. Would you like to install these as well? [Y/n] : Y Loading zlib: ok Bootstrapping Installer................... Bootstrapping PEAR.php............(remote) ok Bootstrapping Archive/Tar.php............ Warning: mkdir(Archive): File exists in /usr/PEAR/go-pear.php on line 672 (remote) ok Bootstrapping Console/Getopt.php............ Warning: mkdir(Console): File exists in /usr/PEAR/go-pear.php on line 672 (remote) ok Extracting installer.................. Downloading package: PEAR.............ok Downloading package: Structures_Graph....ok Preparing installer.................. Updating channel "pear.php.net" Channel "pear.php.net" is up to date Updating channel "pecl.php.net" Channel "pecl.php.net" is up to date Installing selected packages.................. Downloading and installing package: PEAR............. Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 368640 bytes) in /usr/PEAR/temp/PEAR/Installer.php on line 1297 Allowed memory size of 8388608 bytes exhausted (tried to allocate 5 bytes) ScottSuSE:/usr/PEAR # ______________________________________________________ Can someone shed some light on this problem? Thanks very much!!!! Scott the newbie

« previous php.pear.general (#28688) next »