1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Out of memory errors when viewing the Online members list

Discussion in 'Media Gallery Resolved Bugs' started by Chris D, Feb 18, 2015.

  1. Chris D

    Chris D XenForo Developer Staff Member

    A bug has been identified in XenForo Media Gallery 1.0.2 and 1.0.3 which may, with larger galleries, trigger memory limit related errors while viewing the Online users page.

    The issue has been resolved and the fix has been applied to the XenForo Media Gallery 1.0.3 download package.

    If you happen to be affected, please re-download the XFMG 1.0.3 files from your customer area. Specifically the fix has been applied to this file:

    library/XenGallery/ControllerPublic/Abstract.php
     
    imthebest, nanto, mcatze and 2 others like this.
  2. melbo

    melbo Well-Known Member

    Do we need to run the upgrade again or just re upload and overwrite files?
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Just upload.
     
  4. imthebest

    imthebest Formerly Super120

    Last edited: Feb 20, 2015
  5. Chris D

    Chris D XenForo Developer Staff Member

    It is possible. The OOM errors were caused by the loading of XFMG session activity details. We did change that code in XFMG 1.0.2. Unfortunately at the time we had a lack of information and you reported the error had gone away hence we couldn't see that the issue was related. As I said to you before, if the problem continued you needed to let us know so we could look into it further.
     
    Amaury and imthebest like this.
  6. imthebest

    imthebest Formerly Super120

    One last question: how did you managed to identify the cause of the OOM? It was impossible to me to find the root cause of the problem because my php.log didnt contain much information about the offending script.

    How I can identify the cause of OOMs in the future? How you were able to identify that the problem was in Abstract.php if the logs didnt told you anything?

    Thanks.
     
    Last edited: Feb 20, 2015
  7. Chris D

    Chris D XenForo Developer Staff Member

    Step 1 is to find a reproduction case which we failed to do originally when you reported it. It started working as expected so there was no evidence of a problem so we had no reason to believe a bug existed.

    Someone else was reporting an issue with their Online users page, for them it was happening every time. Once we could reproduce it, we were able to use Debug mode to find the exact problem.
     
    ANGEL OF FIRE and imthebest like this.

Share This Page