forestwander

*
Fatal error: Out of memory
« on: June 22, 2009, 04:46:47 AM »
Hello,

I just installed and have tried to resume the script a few times but keep getting this error. I could not post a new topic in the troubleshooting forum, the option was not available.

Please help

Fatal error: Out of memory (allocated 42729472) (tried to allocate 9437312 bytes) in /home/for3stwa/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 27

Links depth: 5
Current page: store/1_493964_B0017HQN6A_Opteka-Professional-1X-2X-Right-Angle-Viewfinder-for-Canon-Nikon-Olympus-Sony-Pentax-Digital-SLR-Cameras.html
Pages added to sitemap: 5107
Pages scanned: 6780 (204,657.0 KB)
Pages left: 25424 (+ 2993 queued for the next depth level)
Time passed: 2:08:20
Time left: 8:01:15
Memory usage: 19,840.1 Kb
Resuming the last session (last updated: 2009-06-21 09:38:13)
Fatal error: Out of memory (allocated 42729472) (tried to allocate 9437312 bytes) in /home/for3stwa/public_html/generator/pages/class.utils.inc.php(2) : eval()'d code on line 27
Re: Fatal error: Out of memory
« Reply #1 on: June 22, 2009, 01:58:31 PM »
Hello,

looks like you have an amazon store feed embedded on your site, which results in a very large number of pages, plus they are slow loading since your site retrieves amazon feeds on the fly. I'd recommend to exclude store/ from sitemap or at least define "maximum URLs" or "maximum depth" to restrict it.

forestwander

*
Re: Fatal error: Out of memory
« Reply #2 on: June 23, 2009, 01:29:41 AM »
Well this was exactly the reason why I bought your product.

So that the "Unlimited" site map generator could index my very large website.

I could have used a free generator to crawl just my other pages.

I would like to have a refund if your product will not work with a large website.

It has been less than 1 week since I bought the script.

Please let me know how to obtain a refund or how to make the script work.

Either one is fine with me.
Re: Fatal error: Out of memory
« Reply #3 on: June 23, 2009, 06:01:59 PM »
Hello,

it's not a problem to crawl larger amount of pages, that was just a seo-wise suggestion.

In order to resolve the issue you should increase memory_limit and max_execution_time settings in PHP configuration (php.ini file on your server).

forestwander

*
Re: Fatal error: Out of memory
« Reply #4 on: June 24, 2009, 02:59:08 AM »
The memory is already set to 64 MB...

# PHP Memory Limit : 64M
# PHP Max Upload Size : 64M
# PHP Max Post Size : 64M
# PHP Max Script Execute Time : N/As

The Script execution time is not limited...

forestwander

*
Re: Fatal error: Out of memory
« Reply #6 on: June 25, 2009, 02:41:50 AM »
Like most people I used shared hosting at host gator and the limit is 64MB.
Re: Fatal error: Out of memory
« Reply #7 on: June 26, 2009, 01:14:03 AM »
You can try redefining it in:

1. sitemap generator options

2. create new "php.ini" file in generator folder

3. create ".htaccess" file in generator folder with:
Code: [Select]
php_value memory_limit 512M
4. if you have ssh access to your host you can run generator in command line

5. you can setup a scheduled task (cron job) in your hosting control panel to run generator