• 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

digitalpoint

Well-known member
#1
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. :)
 

Mike

XenForo developer
Staff member
#4
I thought we actually limited you to following a certain amount of people... If not, it's going to be limited to 1000.
 

Marcus

Well-known member
#7
Nice way to spam people: Follow them and when the followed users go to your account page they see your linked webpage.
 

Mike

XenForo developer
Staff member
#12
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").
 

allewreK

Active member
#13
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").
Did you add pagination on the followers page ? It's really important...
 

Max

Well-known member
#16
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.
 
#17
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.