You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Member list uses too much space in local storage #2674
Pick one collective (f.e. using autocomplete on members) and one member to get it's size.
Expected behavior
We should only store what's needed - at most what currently is in member.basedOn.owner (350 bytes for me).
Browsers have 5 Mb of local storage. So with 6k per member we currently cannot handle more than 1k members in total for all collectives of a user. With < 500 bytes on average 1k members would still only consume 10% of storage.
The easiest quick fix from my point of view would be dropping the details from the circles membership query.
That would remove our ability to detect if the current user is a member of a circle / group inside the collective which we currently use to disallow changing that groups level.
I would suggest to just allow changing everyones settings if the user is an admin - just like in contacts.
We need to do something with avatars existence cache in NcAvatar component, like nextcloud_per_bmV4dGNsb3Vk_user-has-avatar.admin: true. It adds tons of keys
@Koc I don't quite understand. Looking at that key I would assume there's 1k entries for 1k users. If each entry is < 100 bytes key length... how would that fill the 5 Mb of storage?
The circleMembers with > 5Kb storage per entry seem like a much more likely candidate for me for filling up the storage with 1k members.
What am I missing?
Activity
max-nextcloud commentedon Aug 3, 2026
The easiest quick fix from my point of view would be dropping the details from the circles membership query.
That would remove our ability to detect if the current user is a member of a circle / group inside the collective which we currently use to disallow changing that groups level.
I would suggest to just allow changing everyones settings if the user is an admin - just like in contacts.
Koc commentedon Aug 8, 2026
We need to do something with avatars existence cache in
NcAvatarcomponent, likenextcloud_per_bmV4dGNsb3Vk_user-has-avatar.admin: true. It adds tons of keysmax-nextcloud commentedon Aug 9, 2026
@Koc I don't quite understand. Looking at that key I would assume there's 1k entries for 1k users. If each entry is < 100 bytes key length... how would that fill the 5 Mb of storage?
The
circleMemberswith > 5Kb storage per entry seem like a much more likely candidate for me for filling up the storage with 1k members.What am I missing?