Go Back   vb.org Archive > Community Central > vBulletin.org Site Feedback
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2006, 12:16 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 01-18-2006, 12:19 AM
nexialys
Guest
 
Posts: n/a
Default

forget the search engine, this is a crap... (and NO, this is not the original from vB... it was hacked to hell)
Reply With Quote
  #3  
Old 01-18-2006, 12:22 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What are you talking about ?

- I did a search just now here @ vb.org and got this error so I posted it.
Reply With Quote
  #4  
Old 01-18-2006, 12:35 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 01-18-2006, 12:44 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 01-18-2006, 12:49 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Btw:
My search was on.

- vB3.5 Modifications and all Subs only
- Ill drop it down to 2-3 forums @ a time.
Reply With Quote
  #7  
Old 01-18-2006, 01:12 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #8  
Old 01-18-2006, 01:26 AM
nexialys
Guest
 
Posts: n/a
Default

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...
Reply With Quote
  #9  
Old 01-18-2006, 01:33 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 01-18-2006, 01:37 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:43 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.04335 seconds
  • Memory Usage 2,242KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete