vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin.org Site Feedback (https://vborg.vbsupport.ru/forumdisplay.php?f=7)
-   -   Fatal error: Allowed memory size (https://vborg.vbsupport.ru/showthread.php?t=105614)

Zachariah 01-18-2006 12:16 AM

Fatal error: Allowed memory size
 
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 270884 bytes) in /www/vbulletin.org/htdocs/forum/search.php on line 980

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 1024 bytes) in /www/vbulletin.org/htdocs/forum/includes/functions.php on line 496

nexialys 01-18-2006 12:19 AM

forget the search engine, this is a crap... (and NO, this is not the original from vB... it was hacked to hell)

Zachariah 01-18-2006 12:22 AM

What are you talking about ? :confused:

- I did a search just now here @ vb.org and got this error so I posted it.

Brad 01-18-2006 12:35 AM

Quote:

Originally Posted by nexialys
forget the search engine, this is a crap... (and NO, this is not the original from vB... it was hacked to hell)

There are *small* modifications made to it but for the most part it's the same code that came with 3.0.x by default. We've simply outgrown the default method of searching (vB building the search index by itself).

The script throws this error simply because it runs out of memory (a php limit, the memory is there hardware wise but php can only use so much of it at any given time). When we upgrade it'll be fixed, for now you should try using less common terms in your search queries and only search a limited number of forums instead of the entire board in one shot.

Andreas 01-18-2006 12:44 AM

naxialys, this is a problem with vBulletin built-in search, not a problem with vBorg code.
I've had this on my board since over 1 year, I pseudo-fixed it by adding memory_get_usage and spit out an error ("too many results blah") when it was going too high.

Only solution is to use Fulltext.

Zachariah 01-18-2006 12:49 AM

Btw:
My search was on.

- vB3.5 Modifications and all Subs only
- Ill drop it down to 2-3 forums @ a time.

Paul M 01-18-2006 01:12 AM

If the upgrade to 3.5 is not going to be soon then why not turn on fulltext searching - it is available in later 3.0 versions as well isn't it ?

nexialys 01-18-2006 01:26 AM

Quote:

Originally Posted by Paul M
If the upgrade to 3.5 is not going to be soon then why not turn on fulltext searching - it is available in later 3.0 versions as well isn't it ?

turning to full search would mean a complete re-index of the database... would take at least hours if not a day with the stuff we have here...

and the fulltext of 3.0.x was kinda strange behaving...

Andreas 01-18-2006 01:33 AM

Reindexing depends on the server ;)

On my board (1.8 million posts, 4 GB RAM, Dual Xeon 2.8 with RAID 10 HDs mySQL only) it took some seconds for the thread table, and approx. 15 minutes for the post table.

Though, you're right about FT in 3.0

Paul M 01-18-2006 01:37 AM

It wouldn't take very long, this forum only has a few % more than ours and that managed inside 1/2 hour.


All times are GMT. The time now is 10:27 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01484 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete