XML Sitemaps Generator

Author Topic: latest version gives continuous out of memory errors -- php.ini mods not working  (Read 7329 times)

jan12

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
I upgraded two days ago and now cannot run the generator without running into an annoying memory error.  This did not happen on the previous version.

My site has about 30000 URLs many of which change quite often. 

Below is the error and my config.  Also, php.ini has memory set to 768M but I don't think that's the issue as it complains of only have 256M.  Perhaps it is being limited elsewhere?

PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 50752026 bytes) in /home/www/xxxxxx/generator/pages/class.utils.inc.php on line 102

generator.conf


<xmlsitemaps_settings>
   <option name="xs_inc_skip">\.(xml|pdf|doc|eps|ps|txt|rtf|ppt|xls|rss)</option>
   <option name="xs_exc_skip">\.(divx|flv|zip|m4a|m4v|rar|tar|bz2|tgz|exe|gif|tif|jpg|png|class|jar|mpeg|mpg|mp3|wav|mp4|avi|wmv|gz|mov|mid|ra|ram|css)</option>
   <option name="xs_proto_skip">(\#|tel:|mms:|skype:|mailto:|javascript:|ftp:|news:|aim:)</option>
   <option name="xs_exec_time">18000</option>
   <option name="xs_initurl">[external links are visible to admins only]</option>
   <option name="xs_freq">daily</option>
   <option name="xs_lastmod">1</option>
   <option name="xs_priority">1.0</option>
   <option name="xs_descpriority">0.8</option>
   <option name="xs_autopriority">1</option>
   <option name="xs_smname">xxxxx/sitemap.xml</option>
   <option name="xs_smurl">xxxx/sitemap.xml</option>
   <option name="xs_webinfo">1</option>
   <option name="xs_imgfilename">sitemap_images.xml</option>
   <option name="xs_mobilefilename">sitemap_mobile.xml</option>
   <option name="xs_videofilename">sitemap_video.xml</option>
   <option name="xs_video_extract">1</option>
   <option name="xs_newsfilename">sitemap_news.xml</option>
   <option name="xs_newstitle">Your Title</option>
   <option name="xs_newsage">2</option>
   <option name="xs_newslang">en</option>
   <option name="xs_rssfilename">feed_rss.xml</option>
   <option name="xs_rsstitle">My Feed</option>
   <option name="xs_rssage">30</option>
   <option name="xs_gping">1</option>
   <option name="xs_makehtml">0</option>
   <option name="xs_maketxt">1</option>
   <option name="xs_savestate_time">30</option>
   <option name="xs_sm_size">80000</option>
   <option name="xs_sm_filesize">10</option>
   <option name="xs_robotstxt">1</option>
   <option name="xs_dumptype">serialize</option>
   <option name="xs_cleanpar">PHPSESSID|sid|osCsid</option>
   <option name="xs_chlogorder">asc</option>
   <option name="xs_exclude_check">1</option>
   <option name="xs_dateformat">Y, F j</option>
   <option name="xs_allow_httpcode">200</option>
   <option name="xs_weblog_ping">[external links are visible to admins only]</option>
   <option name="xs_purgelogs">30</option>
   <option name="xs_htmlpart">1000</option>
   <option name="xs_max_depth">150</option>
   <option name="xs_memlimit">256</option>
   <option name="xs_maxref">2</option>
   <option name="xs_progupdate">20</option>
   <option name="xs_checkver">1</option>
   <option name="xs_ext_skip">/embed|/share|/like\.php</option>
   <option name="xs_ext_max">1000</option>
   <option name="xs_chlog_list_max">1000</option>
   <option name="xs_http_language">en-us,en;q=0.5</option>
   <option name="xs_htmlname">xxxx</option>
   <option name="xs_notconfigured">0</option>
   <option name="xs_lastmodtime">2014-11-07 00:27:48</option>
   <option name="xs_max_pages"></option>
   <option name="xs_delay_req"></option>
   <option name="xs_delay_ms"></option>
   <option name="xs_yping"></option>
   <option name="xs_excl_urls"></option>
   <option name="xs_incl_urls"></option>
   <option name="xs_incl_only"></option>
   <option name="xs_parse_only"></option>
   <option name="xs_ind_attr"></option>
   <option name="xs_email"></option>
   <option name="xs_chlog">0</option>
   <option name="xs_extlinks">0</option>
   <option name="xs_extlinks_excl"></option>
   <option name="xs_makeror">0</option>
   <option name="xs_htmlsort">0</option>
   <option name="xs_htmlstruct">0</option>
   <option name="xs_makemob">0</option>
   <option name="xs_autoresume"></option>
   <option name="xs_no_cookies">0</option>
   <option name="xs_compress">0</option>
   <option name="xs_usecurl">0</option>
   <option name="xs_memsave">0</option>
   <option name="xs_ipconnection"></option>
   <option name="xs_angroups"></option>
   <option name="xs_moreurls"></option>
   <option name="xs_allow_subdomains">0</option>
   <option name="xs_metadesc">0</option>
   <option name="xs_canonical">0</option>
   <option name="xs_disable_xsl">0</option>
   <option name="xs_nobrand">0</option>
   <option name="xs_utf8">0</option>
   <option name="xs_inc_ajax">0</option>
   <option name="xs_lastmod_notparsed">0</option>
   <option name="xs_debug">0</option>
</xmlsitemaps_settings>

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Hello,

please try to increase memory limit setting in generator configuration.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2