• Welcome to Sitemap Generator Forum.
 

Memory Leak When Saving

Started by sales116, February 10, 2007, 07:34:48 PM

Previous topic - Next topic

sales116

Hello!

First off, great script.  Worth every cent.  Seems there is a problem when saving though.  The memory usage of the script spikes at that point and causes memory_limit issues.  I'm running it on a Windows box so the memory_limit is not configurable, but I have 2GB of RAM in the machine and nothing else really running so I would think it would run ok.  It indexes my entire site ok if I tell it not to save every so often, but when it does save, blammo, some huge memory spike.  Any help?

Thanks
Dave

XML-Sitemaps Support

Hello,

how often is saved the state of crawling when error appears? How many pages do you have indexed and what is a rough amount of memory used?

sales116

Well, the script is set to save it every 300 seconds, the error first occurs at about 3500 pages and at that point the memory usage peaks to about 1.8GB.  If I set the script to run without saving memory usage stays much lower.

XML-Sitemaps Support

Hello,

please try to re-download sitemap generator (there is an updated version now).
What is your PHP version?

sales116

PHP version 5.2.0 and I'm using the latest version already.  It seems obvious that it's in the save routine because if I let it run without saving I have no problems.

XML-Sitemaps Support

Hello,

sitemap generator package has been updated at the moment when I posted my last message above.