Results 1 to 5 of 5

Fatal error: Memory size exhausted

This is a discussion on Fatal error: Memory size exhausted within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; After having started a manual sitemap generation I get following error: Fatal error: Allowed memory size of 41943040 bytes exhausted ...

  1. #1
    Senior Member
    Join Date
    Nov 2005
    Posts
    109
    Liked
    0 times

    Fatal error: Memory size exhausted

    After having started a manual sitemap generation I get following error:

    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 39578806 bytes) in /mypath/forum/vbseo_sitemap/vbseo_sitemap_functions.php on line 1298

    This happend during creation of sitemap in text format. Exactly after:

    [create sitemap file] filename: sitemap_35.xml.gz, number of urls: 8541 [6,207.7Kb mem used] [274s (+0s)]
    [create sitemap in text format] part #36 [6,207.7Kb mem used] [274s (+0s)]
    [create sitemap index] filename: sitemap_index.xml.gz, number of sitemaps: 35 [6,212.9Kb mem used] [274s (+0s)]

    Sitemap file #35 is the last one of my files.

  2. #2
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    Try increasing the PHP memory_limit setting on your server.

  3. #3
    Senior Member
    Join Date
    Nov 2005
    Posts
    109
    Liked
    0 times
    Keith,

    do I really need more than 40megs to create a sitemap? My standard setting for the memory_limit is 40m.

  4. #4
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    64 is the recommended min. setting.

    I personally run 128 on my 2gb of ram server and have no problems with memory spikes.

    Keep in mind, this figure is a TOTAL amount available to php as a whole, not just the sitemap. While your sitemap is being created, your site continues to serve php files which also eats memory.

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    You can also try this: High memory usage
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. Replies: 6
    Last Post: 10-28-2009, 04:32 PM
  2. Fatal error: Allowed memory size of 20971520 bytes exhausted
    By utw-Mephisto in forum Troubleshooting
    Replies: 4
    Last Post: 08-16-2008, 11:57 PM
  3. Fatal error: Allowed memory size
    By nicetry in forum Troubleshooting
    Replies: 6
    Last Post: 11-03-2007, 11:05 AM
  4. Fatal error: Allowed memory size
    By MentaL in forum Troubleshooting
    Replies: 5
    Last Post: 03-03-2007, 05:19 PM
  5. Replies: 3
    Last Post: 10-19-2006, 06:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •