Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Fatal error: Allowed memory size exhausted
 
Azkul
Jr. Member
 
Avatar
Total Posts:  17
Joined:  2008-01-10
 

I’ve given up trying to install this on my dedicated server until I can reformat it and upgrade the OS.  In the meantime, I’ve signed up with a BlueHost account, and am trying to install it there.  I don’t have SSH access yet, so I can’t run the pear commands from the shell, and therefore I’m trying to use your beta downloader.  When I do this, however, I’m running into a memory limit.  I’ve tried editing my php.ini file to allow for a larger memory limit, but that didn’t help. 

Is there a way to do this in more than one step?  If this process was split up into a few steps, the memory limit wouldn’t be reached (which is currently 32M).  I’m sure others are having the same problem due to limits placed by their hosting companies.

Here’s my log when clicking the beta download:

Setting preferred state to: beta

config-set succeeded

Downloading and installing Magento, please wait…

Ignoring installed package pear/PEAR
Ignoring installed package mage-core/Mage_Pear_Helpers
downloading Lib_ZF-0.7.0.tgz ...
Starting to download Lib_ZF-0.7.0.tgz (2,080,168 bytes)
............done: 2,080,168 bytes
downloading Lib_Varien-0.7.0.tgz ...
Starting to download Lib_Varien-0.7.0.tgz (81,143 bytes)
...done: 81,143 bytes
downloading Mage_All-0.7.0.tgz ...
Starting to download Mage_All-0.7.0.tgz (1,890,552 bytes)
...done: 1,890,552 bytes
downloading Interface_Frontend_Default-0.7.0.tgz ...
Starting to download Interface_Frontend_Default-0.7.0.tgz (999,651 bytes)
...done: 999,651 bytes
downloading Interface_Adminhtml_Default-0.7.0.tgz ...
Starting to download Interface_Adminhtml_Default-0.7.0.tgz (262,274 bytes)
...done: 262,274 bytes
downloading Interface_Install_Default-0.7.0.tgz ...
Starting to download Interface_Install_Default-0.7.0.tgz (111,844 bytes)
...done: 111,844 bytes

Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 8192 bytes) in /home/accountname/public_html/magento/lib/pear/php/PEAR/Installer.php on line 526

 
Magento Community Magento Community
Magento Community
Magento Community
 
Azkul
Jr. Member
 
Avatar
Total Posts:  17
Joined:  2008-01-10
 

I tried changing my .htaccess file based on the instructions on this thread:

http://www.magentocommerce.com/boards/viewthread/2422/

but I changed them to 128M instead of 32M, but that didn’t help either.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Azkul
Jr. Member
 
Avatar
Total Posts:  17
Joined:  2008-01-10
 

Finally, it’s installed.

I copied the php.ini & .htaccess files to both the root and the /magento folder where I have it installed.  This seemed to do the trick, although after everything was installed, it didn’t automatically take me to the next page.  After waiting 5-10 minutes, I refreshed the page, and the log window said everything was installed and allowed me to proceed.

Hopefully this helps the next person.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top