XML Sitemaps Generator

Author Topic: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate  (Read 32216 times)

info603

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Hi,
I have read the topics about my question and i cant find the solution to my site.

My server's configuration is ;

max_execution_time: 30
memory_limit : 32 MB

I uploaded php.ini file to my generator folder and the configuration is
max_execution_time=50000
memory_limit=256M

But it doesn't help.

My server is a shared server and i think it is not possible to increase the limits.

Any idea about the solution.

Thx..


The problem

Links depth: 2
Current page: index.php?page=azmakine&browsing=1&searched=1&category_id=&baslik=&sayfanum=228&dil=
Pages added to sitemap: 760
Pages scanned: 760 (103,422.8 KB)
Pages left: 5466 (+ 15946 queued for the next depth level)
Time passed: 6:06
Time left: 43:57
Memory usage: 77,442.3 Kb

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1310526 bytes) in /var/www/vhosts/makinecim.com/httpdocs/generator/pages/class.utils.inc.php(2) : eval()'d code on line 6

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Try to create ".htaccess" file in generator folder with:
Quote
php_value memory_limit 356M
php_value max_execution_time 3000
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.

info603

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Hi, i tried but i got the error again.

Links depth: 2
Current page: ilan_7797_2el-revizyonu-yapimis-planet-mikser-40-lt
Pages added to sitemap: 2559
Pages scanned: 2560 (453,329.5 KB)
Pages left: 3634 (+ 44684 queued for the next depth level)
Time passed: 24:49
Time left: 35:15
Memory usage: -549,610.7 Kb

Fatal error: Allowed memory size of 373293056 bytes exhausted (tried to allocate 11534496 bytes) in /var/www/vhosts/makinecim.com/httpdocs/generator/pages/class.utils.inc.php(2) : eval()'d code on line 6

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Ok, looks like new php settings are applied, but there are direct links to some huge files, so memory_limit is exceeded too fast. Please PM me your generator URL.
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.

ibararhen

  • Registered Customer
  • Approved member
  • *
  • Posts: 1
Hi ,
I have the same problem and I don't find a solution

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 19289630 bytes) in /var/www/vhosts/rapidachat.fr/httpdocs/generator/pages/class.utils.inc.php(2) : eval()'d code on line 6

Of advance thank you for your help

XML-Sitemaps Support

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

how many URLs do you have crawled so far at that moment?
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