Try the Demo

Magento

eCommerce Software for Online Growth

Magento Forum

Our new hosted solution for small & emerging businesses
   
Fixed: Fatal error: Out of memory …
 
Mandelina
Member
 
Total Posts:  63
Joined:  2008-09-26
Germany
 

I upgraded with magento-core/Mage_All_Latest from 1.3 to 1.3.1
in Magento connect mananger and received this fatal error.

downloading Mage_All_Latest-1.3.1.tgz ...
Starting to download Mage_All_Latest-1.3.1.tgz (995 bytes)
. ...
done995 bytes
downloading Mage_Core_Modules
-1.3.1.tgz ...
Starting to download Mage_Core_Modules-1.3.1.tgz (1,584,952 bytes)
...
done1,584,952 bytes
downloading Mage_Core_Adminhtml
-1.3.1.tgz ...
Starting to download Mage_Core_Adminhtml-1.3.1.tgz (389,217 bytes)
...
done389,217 bytes
downloading Interface_Adminhtml_Default
-1.3.1.tgz ...
Starting to download Interface_Adminhtml_Default-1.3.1.tgz (986,361 bytes)
...
done986,361 bytes
downloading Interface_Frontend_Default
-1.3.1.tgz ...
Starting to download Interface_Frontend_Default-1.3.1.tgz (1,083,117 bytes)
...
done1,083,117 bytes
downloading Interface_Install_Default
-1.3.1.tgz ...
Starting to download Interface_Install_Default-1.3.1.tgz (109,386 bytes)
...
done109,386 bytes

Fatal error
Out of memory (allocated 30670848) (tried to allocate 1048576 bytesin /homepages/12/d123874199/htdocs/magento/downloader/pearlib/php/PEAR/Registry.php on line 1118

Any help?

Thanks in advance!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Enthusiast
 
Avatar
Total Posts:  835
Joined:  2008-04-24
 

You need to increase the PHP memory limit on your server. The default of 32MB is too low for Magento. Up it to 128MB. If you have root access to the server, you can change the value of memory_limit in the php.ini. Otherwise, you might be able to override it using a custom php.ini or .htaccess.

 Signature 

Magento Optimized Web Hosting
Professional LiteSpeed Enterprise™ Powered Magento Hosting. (see our demo store and hosting plans)
Unprecedented performance and fully compatible with the Magento Connect Manager.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mandelina
Member
 
Total Posts:  63
Joined:  2008-09-26
Germany
 

Everythings works fine!

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mandelina
Member
 
Total Posts:  63
Joined:  2008-09-26
Germany
 

Now a version later i am getting the same issue,
with having set a php.ini already ...

Fatal errorOut of memory (allocated 30408704) (tried to allocate 89 bytesin /homepages/12/d123874199/htdocs/home/downloader/pearlib/php/PEAR/Registry.php on line 1120

line 1120 in Registry.php is

if ($this->_getChannelFromAlias($channel) == 'doc.php.net'{
            
return false;
        
}

I have no root access, and my php.ini looks like this

memory=128MB
upload_max_filesize 
128MB
memory_limit 
128M

Any ideas how to fix it?

Thanks in advance!

 
Magento Community Magento Community
Magento Community
Magento Community
 
llit
Member
 
Total Posts:  44
Joined:  2009-07-16
 

Ahh thats where I am, mine also has 128mb allocated and i still get that error.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mandelina
Member
 
Total Posts:  63
Joined:  2008-09-26
Germany
 

Since then, i didn`t upgrade with magentoconnect,
any ideas will still be greatly appreciated.

 
Magento Community Magento Community
Magento Community
Magento Community
 
llit
Member
 
Total Posts:  44
Joined:  2009-07-16
 

Turns out you either need to have a php.ini in every dir, because thats the only place they work, or this in your .htaccess file;

SetEnv PHPRC /home/username/public_html/

 
Magento Community Magento Community
Magento Community
Magento Community
 
cheeseandrice
Sr. Member
 
Avatar
Total Posts:  120
Joined:  2009-01-05
 

This worked for me, but the path to my php.ini was different.

#################################
SetEnv PHPRC /home/myUserAccount/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2012 Magento Inc.
Privacy Policy|Terms of Service
Magento Community Count
701238 users|1029 users currently online|497318 forum posts