XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
September 05, 2008, 09:04:25 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Sitemap software 2.9 released - Email notifications, html sitemap customizing and more
7421 Posts in 1828 Topics by Members
Latest Member: bashworth
Pages: [1]
  Print  
Author Topic: Fatal error: Allowed memory size of 25165824 ....  (Read 3931 times)
payments52
Registered Customer
Newbie
*
Posts: 2


View Profile
« on: February 27, 2008, 10:14:55 AM »

Bought and installed XML Sitemaps today.

The following error was generated

Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 524288 bytes) in /path/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 6

Please advise how to solve this
Regards
Adrian
Logged
admin
Administrator
Hero Member
*****
Posts: 3113


View Profile
« Reply #1 on: February 28, 2008, 12:44:35 AM »

Hello,
it looks like your server configuration doesn't allow to run the script long enough to create full sitemap. Please try to increase memory_limit and max_execution_time settings in php configuration at your host (php.ini file) or contact hosting support regarding this.
Logged

payments52
Registered Customer
Newbie
*
Posts: 2


View Profile
« Reply #2 on: February 29, 2008, 02:30:38 AM »

I have access to the php.ini, what is a safe memory limit? I tried 32M but that failed as well.
Logged
admin
Administrator
Hero Member
*****
Posts: 3113


View Profile
« Reply #3 on: February 29, 2008, 11:20:16 PM »

I'd suggest to set a larger value (like 128M or 256M), then execute sitemap generator and track current memory usage in progress window. Then you can decrease the limit to the highest memory usage value you got when generated sitemap.
Logged

da_lyman
Registered Customer
Jr. Member
*
Posts: 18


View Profile
« Reply #4 on: March 08, 2008, 12:16:55 AM »

My web server can not change the php.ini file, but they say i can put one @ my root folder that should work.  Can anybody email me a copy of a good php.ini file?
Logged
da_lyman
Registered Customer
Jr. Member
*
Posts: 18


View Profile
« Reply #5 on: March 08, 2008, 12:33:13 AM »

I have located a php.ini-dist file from the site php . net.  What are your recomendations for my site?  We have over 1 million links to crawl.  Thanks.
Logged
admin
Administrator
Hero Member
*****
Posts: 3113


View Profile
« Reply #6 on: March 09, 2008, 08:55:56 PM »

It's not possible to guesstimate the memory limit exactly, you can find it out by trial and error (you can always resume generation so that's not a problem).
For larger sites it's recommended to execute generator in command line via SSH though.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!