[GH-ISSUE #1593] Possible Firefox memory leak #1053

Closed
opened 2026-02-25 22:38:51 +03:00 by kerem · 6 comments
Owner

Originally created by @balporig on GitHub (May 8, 2024).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1593

Which version of floccus are you using?

5.1.0

Sync method

WebDAV

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Firefox 125.0.3

Which version of Nextcloud Bookmarks are you using? (if relevant)

No response

Which version of Nextcloud? (if relevant)

No response

What kind of WebDAV server are you using? (if relevant)

No response

Describe the Bug

Setup

75k bookmarks spread across 8 non-nested profiles synced between several Firefox and Chromium based browsers on different platforms with auto-sync disabled

Issue

When opening Firefox for the first time there is huge memory spike up to 40 GB. Each time you reopen the browser there is significant spike, that takes few minutes to reach it's peak and disappears after several minutes. With auto-sync disabled there shouldn't be any background processing on startup. The issue is not present in Chromium based browsers

Expected Behavior

There shouldn't be any noticeable memory usage on startup with auto-sync disabled

To Reproduce

You need couple of profiles each with few thousand bookmarks, the more profiles with more bookmarks, the larger the memory spike

Debug log provided

  • I have provided a debug log file
Originally created by @balporig on GitHub (May 8, 2024). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/1593 ### Which version of floccus are you using? 5.1.0 ### Sync method WebDAV ### Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please. Firefox 125.0.3 ### Which version of Nextcloud Bookmarks are you using? (if relevant) _No response_ ### Which version of Nextcloud? (if relevant) _No response_ ### What kind of WebDAV server are you using? (if relevant) _No response_ ### Describe the Bug Setup 75k bookmarks spread across 8 non-nested profiles synced between several Firefox and Chromium based browsers on different platforms with auto-sync disabled Issue When opening Firefox for the first time there is huge memory spike up to 40 GB. Each time you reopen the browser there is significant spike, that takes few minutes to reach it's peak and disappears after several minutes. With auto-sync disabled there shouldn't be any background processing on startup. The issue is not present in Chromium based browsers ### Expected Behavior There shouldn't be any noticeable memory usage on startup with auto-sync disabled ### To Reproduce You need couple of profiles each with few thousand bookmarks, the more profiles with more bookmarks, the larger the memory spike ### Debug log provided - [ ] I have provided a debug log file
kerem 2026-02-25 22:38:51 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@github-actions[bot] commented on GitHub (May 8, 2024):

Hello 👋

Thank you for taking the time to open this issue with floccus. I know it's frustrating when software
causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at
and if possible solved.
I'm Marcel and I created floccus and have been maintaining it ever since.
I currently work for Nextcloud which leaves me with less time for side projects like this one
than I used to have.
I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it.
Until then, please be patient.
Note also that GitHub is a place where people meet to make software better together. Nobody here is under any obligation
to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can
collaborate to make this software better. For everyone.
Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge
and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and
try to fix the odd bug yourself. Everyone will be thankful for extra helping hands!
One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum,
to twitter or somewhere else. But this is a technical issue tracker, so please make sure to
focus on the tech and keep your opinions to yourself.

I look forward to working with you on this issue
Cheers 💙

<!-- gh-comment-id:2099532123 --> @github-actions[bot] commented on GitHub (May 8, 2024): Hello :wave: Thank you for taking the time to open this issue with floccus. I know it's frustrating when software causes problems. You have made the right choice to come here and open an issue to make sure your problem gets looked at and if possible solved. I'm Marcel and I created floccus and have been maintaining it ever since. I currently work for Nextcloud which leaves me with less time for side projects like this one than I used to have. I still try to answer all issues and if possible fix all bugs here, but it sometimes takes a while until I get to it. Until then, please be patient. Note also that GitHub is a place where people meet to make software better *together*. Nobody here is under any obligation to help you, solve your problems or deliver on any expectations or demands you may have, but if enough people come together we can collaborate to make this software better. For everyone. Thus, if you can, you could also have a look at other issues to see whether you can help other people with your knowledge and experience. If you have coding experience it would also be awesome if you could step up to dive into the code and try to fix the odd bug yourself. Everyone will be thankful for extra helping hands! One last word: If you feel, at any point, like you need to vent, this is not the place for it; you can go to the forum, to twitter or somewhere else. But this is a technical issue tracker, so please make sure to focus on the tech and keep your opinions to yourself. I look forward to working with you on this issue Cheers :blue_heart:
Author
Owner

@marcelklehr commented on GitHub (May 8, 2024):

75k bookmarks, huh?

I know exactly which code triggers this :D :S and it's hard to circumvent 🤔

<!-- gh-comment-id:2100017383 --> @marcelklehr commented on GitHub (May 8, 2024): 75k bookmarks, huh? I know exactly which code triggers this :D :S and it's hard to circumvent :thinking:
Author
Owner

@balporig commented on GitHub (May 8, 2024):

Yep, 10 years worth of research :)

Interesting, can you point to the code to have a look?

Looks like #1548 is non issue anymore as long you keep each profile under 5 MB

<!-- gh-comment-id:2100979051 --> @balporig commented on GitHub (May 8, 2024): Yep, 10 years worth of research :) Interesting, can you point to the code to have a look? Looks like #1548 is non issue anymore as long you keep each profile under 5 MB
Author
Owner

@marcelklehr commented on GitHub (May 9, 2024):

Interesting, can you point to the code to have a look?

You can see it in the fixing commit

<!-- gh-comment-id:2102060466 --> @marcelklehr commented on GitHub (May 9, 2024): > Interesting, can you point to the code to have a look? You can see it in the fixing commit
Author
Owner

@marcelklehr commented on GitHub (May 9, 2024):

Looks like https://github.com/floccusaddon/floccus/issues/1548 is non issue anymore as long you keep each profile under 5 MB

Interesting

<!-- gh-comment-id:2102060775 --> @marcelklehr commented on GitHub (May 9, 2024): > Looks like https://github.com/floccusaddon/floccus/issues/1548 is non issue anymore as long you keep each profile under 5 MB Interesting
Author
Owner

@github-actions[bot] commented on GitHub (May 10, 2025):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:2868144623 --> @github-actions[bot] commented on GitHub (May 10, 2025): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#1053
No description provided.