Announcement

Collapse
No announcement yet.

search.php on line 1033. Fatal error: Allowed memory size of 33554432 bytes...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • search.php on line 1033. Fatal error: Allowed memory size of 33554432 bytes...

    One of my users is reporting this error:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 456544 bytes) in /home/thiserver/public_html/forums/search.php on line 1033
    I searched a bit on the Internet, but haven't found a solution.

    My forum has about 750,000 posts and about 80,000 members.

    Thanks.

  • #2
    Your PHP does not have enough memory allocated to it to complete this operation. Ask your host to increase the 'memory_limit' variable in php.ini to at least 64M.

    To temporarily up your limits edit your includes/config.php file and add these lines right under the <?php line:

    ini_set('memory_limit', 64 * 1024 * 1024);


    Note: You might want to also consider lowering this number:

    Admin CP -> vBulletin Options -> Message Searching Options -> Maximum Search Results to Return
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      What are they searching for? Most likely cause its an overly common word and you have vBulletin set to return more than the most recent 500 results.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud customization and demonstration site.
      vBulletin 5 Documentation - Updated every Friday. Report issues here.
      vBulletin 5 API - Full / Mobile
      I am not currently available for vB Messenger Chats.

      Comment


      • #4
        I'm not sure what term the user is searching.

        This:

        Maximum Search Results to Return

        is set to 100.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X