views:

130

answers:

4

I'm porting an installation of Joomla, and I'm getting this error:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 116 bytes) in

in \wwwroot\libraries\joomla\error\exception.php on line 117

I've tried upping the limit, but that doesn't help (well, it wouldn't, it's only trying to allocated 116 bytes)

Any ideas?

A: 

Check Your memory_limit parameter in your php.ini.

It is exceeding that limit.

Change it to your requirement and then try.

Hope this helps.

Yogesh
I've tried that sorry, that's what's confusing me
Paul
Ok. If it is not working then Check Your post_max_size parameter in your php.ini.It is exceeding the limit of your page.Change it to your requirement and then try.Hope this helps.
Yogesh
I've tried upping both through the roof, but to no success
Paul
+1  A: 

I've usually encountered errors like this when doing image manipulation with GD. As Yogesh suggests adding a line to up the memory limit has solved it for me. For example:

ini_set('memory_limit', '128M');
Nev Stokes
I put the memory limit up to an enormous amount, but still didn't work. It must be some issue with Joomla
Paul
A: 

Forget about increasing the memory and look at your installed Joomla Extensions

Disable the Plugins one by one and the extensions one by one until you find the one that is consuming all your memory.

Joomla with extensions should run with as little as the default 8Mb of memory_limit

Phil. www.phil-taylor.com - The Joomla Expert

Phil
This sounds like a great idea - unfortunately I can't get into the administration area either...is there another way to disable the extensions?
Paul
A: 

It looks like there was some problem with the joomla core files - as taking a fresh copy and overriding the index.php with a fresh copy, all is good now. Weird!

Paul