• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • ErrorException: Fatal Error: Allowed memory size

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: ErrorException: Fatal Error: Allowed memory size

    • Issue Tools
      • View Changes
    1. issueid=6079 July 21, 2020 4:21 AM
      hollosch hollosch is offline
      Senior Member
      ErrorException: Fatal Error: Allowed memory size

      ErrorException: Fatal Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 131072 bytes) src/XF/Diff.php:198
      Generiert von: Unbekanntes Konto 21. Juli 2020 um 10:18
      Stack-Trace
      #0 [internal function]: XF::handleFatalError()
      #1 {main}
      Status der Anfrage
      array(4) {
      ["url"] => string(104) "/wiki/Stadtwiki_Geislingen/Ferienstadtmuseum_Sonstiges?do=history&action=compare&old id=13507&oldid2=5728"
      ["referrer"] => bool(false)
      ["_GET"] => array(4) {
      ["do"] => string(7) "history"
      ["action"] => string(7) "compare"
      ["oldid"] => string(5) "13507"
      ["oldid2"] => string(4) "5728"
      }
      ["_POST"] => array(0) {
      }
      }
    Issue Details
    Issue Number 6079
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Unknown
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.1.0 RC 3
    Fixed Version 4.1.0
    Milestone (none)
    Software DependencyXenForo 2.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. July 21, 2020 2:35 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed in the next release. This was occurring due to trying to highlight words using too many characters at once.

      When comparing revisions we made some optimizations:
      - Generate segments from lines first. Before we were generating segments by comparing words, then rebuilding lines.
      - Only attempt word comparisons (and highlighting) on segments that are a -/+ combination (before, words were tested before combinations could be determined).
      - Don't attempt word comparisons on segments with more than 10000 characters. If it is needed, in the future, we may change this to highlight batches of 10000 characters, if there is demand.

      With these optimizations, the example you posted is able to finish comparing.

      This was a major logic change. It is possible that compare results for other platforms were disrupted and could need tweaking.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 5:41 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.