vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Memory error when using wildcard * on search (https://vborg.vbsupport.ru/showthread.php?t=67722)

Areku 07-28-2004 08:37 AM

Memory error when using wildcard * on search
 
Hi there,

On a VB2.3.x, whenever I try to search for "video es*" i get:

Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 129 bytes) in /home/virtual/site1/fst/var/www/html/forums/search.php on line 412

Fatal error: Allowed memory size of 8388608 bytes exhausted at (null):0 (tried to allocate 32 bytes) in /home/virtual/site1/fst/var/www/html/forums/admin/functions.php on line 2632

But if I try with "video ess*", search results come with no problems.

Any idea of what's going on?

Thanks!

Dean C 07-28-2004 09:53 AM

What modifications have you added to your vB :)?

Areku 07-28-2004 10:06 AM

A few... the only one messing with SEARCH is the hack that shows the last x searches made along with its results... might it be this one??

Andreas 07-28-2004 10:11 AM

Well, I also get memory exhausted errors with an unmodified vB 3.0.3 using certain keywords on my board (625K posts, postindex has about 26.000.000 rows).
The problem is that some keywords simply return too many results.
Unfortunately, this is not fixable as long as FULLTEXT search isn't fully implemented :(
The only thing you can do is increasing PHP memory limits

Dean C 07-28-2004 10:12 AM

I doubt that very much. Try removing the hack and do the search again - you can always backup and reupload the file :)


All times are GMT. The time now is 01:46 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.00957 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete