XML Sitemaps Generator

Author Topic: Memory Error?  (Read 8285 times)

randy

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 30
Memory Error?
« on: June 05, 2012, 02:49:33 AM »
Hello,

I have just moved to a new shared/semi-dedicated server and this is the first time to run on this server and I get this error.

Quote
<---SNIP!--->5697 | 8 | 24,730.4 | 1:19:25 | 0:00:06 | 4 | 5,307.8 Kb | 5670 | 0 | 0
5698 | 7 | 24,730.4 | 1:19:25 | 0:00:05 | 4 | 5,308.1 Kb | 5671 | 0 | 1
5699 | 6 | 24,730.4 | 1:19:25 | 0:00:05 | 4 | 5,308.2 Kb | 5672 | 0 | 0
5700 | 5 | 24,730.4 | 1:19:25 | 0:00:04 | 4 | 5,308.4 Kb | 5673 | 0 | 0
5701 | 4 | 24,730.4 | 1:19:29 | 0:00:03 | 4 | 5,308.7 Kb | 5674 | 0 | 0
5702 | 3 | 24,730.4 | 1:19:29 | 0:00:02 | 4 | 5,308.9 Kb | 5675 | 0 | 0
5703 | 2 | 24,730.4 | 1:19:29 | 0:00:01 | 4 | 5,309.1 Kb | 5676 | 0 | 1
5704 | 1 | 24,730.4 | 1:19:29 | 0:00:00 | 4 | 5,309.3 Kb | 5677 | 0 | 0
5705 | 0 | 24,730.4 | 1:19:29 | 0:00:00 | 5 | 4,223.3 Kb | 5678 | 0 | -1086
<h4>Completed</h4>Total pages indexed: 5678
<br>Creating sitemaps...
 and calculating changelog...
<div id="percprog"></div>
<br />
<b>Fatal error</b>:  Allowed memory size of 67108864 bytes exhausted (tried to allocate 1261607 bytes) in <b>/home/jturbowa/other_domains/satxweather.com/generator/pages/class.utils.inc.php</b> on line <b>102</b><br />

It appears as if I am out of memory, but it also says it completed. Is there a way to better manage the memory? Or what is the fix?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Memory Error?
« Reply #1 on: June 07, 2012, 04:11:47 PM »
Hello,

looks like memory limit is exceeded at last step when sitemap is created, you need to increase memry_limit settig in php.ini file.
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.

randy

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 30
Re: Memory Error?
« Reply #2 on: June 07, 2012, 09:35:17 PM »
Increased from 64 to 96 to 128 to 512... still get the error. Do I just keep increasing it more and more till it doesn't fail anymore?

Quote
Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 74 bytes) in /home/jturbowa/other_domains/satxweather.com/generator/ pages/class.xml-creator.inc.php on line 382

randy

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 30
Re: Memory Error?
« Reply #3 on: June 07, 2012, 10:48:34 PM »
Sorry, I entered this topic in the wrong section... Feel free to move to the Unlimited Section

randy

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 30
Re: Memory Error?
« Reply #4 on: June 07, 2012, 11:21:38 PM »
Memory limit set to 700... How do I fix this? Here is the error:

Quote
1962 | 2 | 1,380.8 | 0:12:43 | 0:00:00 | 3 | 3,109.7 Kb | 1959 | 0 | 0
1963 | 1 | 1,380.8 | 0:12:43 | 0:00:00 | 3 | 3,110.0 Kb | 1960 | 0 | 1
1964 | 0 | 1,380.8 | 0:12:43 | 0:00:00 | 4 | 2,645.6 Kb | 1961 | 0 | -465
<h4>Completed</h4>Total pages indexed: 1961
<br>Creating sitemaps...
 and calculating changelog...
<div id="percprog"></div>
<br />
<b>Warning</b>:  fopen(/home/jturbowa/other_domains/satxweather.com/generator/) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Is a directory in <b>/home/jturbowa/other_domains/satxweather.com/generator/pages/class.utils.inc.php</b> on line <b>102</b><br />
<br />
<b>Warning</b>:  fclose(): supplied argument is not a valid stream resource in <b>/home/jturbowa/other_domains/satxweather.com/generator/pages/class.xml-creator.inc.php</b> on line <b>322</b><br />

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Memory Error?
« Reply #5 on: June 09, 2012, 02:03:30 PM »
Hello,

please let me know your generator URL/login in private message to check this.
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.

randy

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 30
Re: Memory Error?
« Reply #6 on: June 13, 2012, 03:00:19 PM »
Login info sent via pm.

randy

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 30
Re: Memory Error?
« Reply #7 on: June 14, 2012, 02:17:55 PM »
Thank you, Oleg, for correcting the "save sitemap to" settings.

I really appreciate your help.

 

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