Fatal error: Allowed memory size of 33554432 bytes exhausted

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
urbansaint
New Member
New Member
Posts: 6
Joined: Wed Aug 17, 2011 5:58 am

Fatal error: Allowed memory size of 33554432 bytes exhausted

Post by urbansaint »

I tried to install FrontEndUser under Module Manager, but it shows the following error,

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 349639 bytes) in /mounted-storage/home39c/sub001/sc30583-IOFH/idugai.com/modules/nuSOAP/classes/nusoap.php on line 6219

How to rectify this???
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Post by Wishbone »

I get that as well on some hosts and never found a workaround, besides adding modules the old fashioned way.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Post by Rolf »

Increase the PHP Memory limit in the config.php
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Post by Wishbone »

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 349639 bytes)
To me, the message doesn't make sense... It tries to allocate 350K, but it ran out of it's allowed 34M ???
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Post by applejack »

Hi Wayne

Hope you are well. It could be because the overall memory is being used by other processes.

For some modules it is better to install by downloading the xml file and using that as there are a number of modules CGExtensions to name just one which I can never get to install via the module manager.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Post by Wishbone »

I can never install CGExtensions using the XML.. I always get an "XML Corrupted" message.

I found out that if a developer re-releases a version of a module, you will always get a checksum error when using the module manager.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Post by Wishbone »

Wishbone wrote:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 349639 bytes)
To me, the message doesn't make sense... It tries to allocate 350K, but it ran out of it's allowed 34M ???
This is very strange... The forum says I posted this today... I posted this in August. ???
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Fatal error: Allowed memory size of 33554432 bytes exhau

Post by RonnyK »

Odd behaviour indeed....

Btw, 2 things on the subject. ModuleManager has some changes inside, which will be in 1.10 and should make the installing more stable there.

Second, the 350K it tries to allocate are the alllocated memory for that mentioned module. In total you have 32M, which should be fine for a clean install, but when installing multiple additional modules, I would increase to 48M or 64M. So the message is that CMSMS is loaded and other modules as well, but that the last chunk that is tried to be allocated for the mentioned module is making it cross the memory_limit.

You could increase memory_limit in the php.ini, if you have access. Otherwise the .htaccess or the config.php are alternatives, but they will only work if your hoster allows overriding the server settings.

Ronny
Locked

Return to “[locked] Installation, Setup and Upgrade”