Page 1 of 1

Maximum Number Of pages?

Posted: Sat Jan 13, 2007 1:44 pm
by Homersbrain
I'm setting up my website and have imported a load of content pages using a script I found on this site. After a bit of modding the script works ok. If I only import a handful of pages, everything works fine. Each page only has a user defined tag in.

If I import all the pages I want to import (5000+), I get this error

Fatal error: Allowed memory size of 18874368 bytes exhausted (tried to allocate 47 bytes) in /var/www/html/lib/classes/class.content.inc.php on line 208

This occurs on the home page, when I try and look at one of the pages I've imported using the se friendly url, and also in the backend when I try and list the pages content.

Does anyone know a way round it?

tia

Mike

Re: Maximum Number Of pages?

Posted: Sat Jan 13, 2007 3:41 pm
by Dee
PHP runs out of memory when the error "Fatal error: Allowed memory size of ... bytes exhausted" occurs.
The only way around it is to increase PHP's memory_limit setting (or uninstalling all unneeded modules, deleting their module folders and deleting all unused language files, both from modules and the admin).

Regards,
D