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

Partial Fix Out of memory if user is following too many

Discussion in 'Resolved Bug Reports' started by digitalpoint, Aug 30, 2013.

  1. digitalpoint

    digitalpoint Well-Known Member

    I have a user that is following about 30,000 people (don't ask me why)... If you go to their following page, you end up with an out of memory error (we have 512MB allowed for PHP processes).

    I see there's a note to maybe add pagination within the XenForo_ControllerPublic_Member::actionFollowing() (and followers) method... might not be a bad idea. :)
    Xon, Valhalla, 0xym0r0n and 2 others like this.
  2. duderuud

    duderuud Active Member

    Following 30k users? My god...that's just asking for (navigation) problems...
  3. MattW

    MattW Well-Known Member

    I'd hate to see what their News Feed looked like!
  4. Mike

    Mike XenForo Developer Staff Member

    I thought we actually limited you to following a certain amount of people... If not, it's going to be limited to 1000.
    shenmuee likes this.
  5. Mike

    Mike XenForo Developer Staff Member

    It could be an import thing though I suppose.
  6. digitalpoint

    digitalpoint Well-Known Member

    Ya, user hasn't even been on since before migration, so would have been before that.
  7. Marcus

    Marcus Well-Known Member

    Nice way to spam people: Follow them and when the followed users go to your account page they see your linked webpage.
  8. Jay

    Jay Active Member

    I don't think vB worked that way...
  9. Eagle

    Eagle Well-Known Member

    Load More would be awesome like Recent Activity feed page.

    Likes, Followers, Following and Profile Posts etc.

    JVCode likes this.
  10. Nicky

    Nicky Active Member

    How do you see this screen #who likes#?
  11. Andrej

    Andrej Well-Known Member

    Снимок экрана 2013-09-01 в 17.32.24.png
    Nicky likes this.
  12. Mike

    Mike XenForo Developer Staff Member

    Followers are now limited (given that it doesn't really make sense to let people go insane there), though yes this could theoretically come up in some other places (hence, "partial fix").
  13. allewreK

    allewreK Active Member

    Did you add pagination on the followers page ? It's really important...
  14. Eagle

    Eagle Well-Known Member

    It should be Load More..
  15. allewreK

    allewreK Active Member

    Yes something like that, you are right it's more coherent with the actual javascript that loads the followers.
  16. Max

    Max Well-Known Member

    limiting the followers (people who follow you) not a good idea, bcoz some popular person may get 10,000 followers who wanna get to know about his posts.
    Its okay to limit the number of people one can follow. (following)

    As others said adding load more.. button and adding 25 members at each load is the best solution. Its essential for large boards.
    semprot likes this.
  17. Stormlilly

    Stormlilly Member

    Is there a way to allow more followers than 1000? I have members who have 2500 followers and I would like to allow them to have this work for them.
  18. digitalpoint

    digitalpoint Well-Known Member

    I think the limit is just people YOU follow, not people that follow you (I could be wrong).
    Max likes this.
  19. Stormlilly

    Stormlilly Member

    Thanks DP, I would require an increase in both.
  20. digitalpoint

    digitalpoint Well-Known Member

    Not sure how useful it would be to follow more than 1,000 people to be honest... but I guess if you have a need for it. {shrug}

Share This Page