[GH-ISSUE #334] memory leak on firefox while using webdav #280

Closed
opened 2026-02-25 22:36:41 +03:00 by kerem · 17 comments
Owner

Originally created by @GoogleBeEvil on GitHub (Jul 22, 2019).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/334

Step to reproduce:
1.set usename and password for floccus
2.sync all local bookmarks to webdav with check "Speed up synchronization"
these 2 steps works well and no memory leak.

3.delete all local bookmarks and then try sync back bookmarks from webdav (checked Trigger sync from scratch,also check Speed up synchronization) .memory usage will grow till fiiefox gets stucked 16GBram,and firefox use 12GB.

btw:4000 bookmarks in my local folder,maybe the number of bookmarks lead this , one more thing i use debian testing x64,firefox 68.0.1

Originally created by @GoogleBeEvil on GitHub (Jul 22, 2019). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/334 Step to reproduce: 1.set usename and password for floccus 2.sync all local bookmarks to webdav with check "Speed up synchronization" these 2 steps works well and no memory leak. 3.delete all local bookmarks and then try sync back bookmarks from webdav (checked Trigger sync from scratch,also check Speed up synchronization) .memory usage will grow till fiiefox gets stucked 16GBram,and firefox use 12GB. btw:4000 bookmarks in my local folder,maybe the number of bookmarks lead this , one more thing i use debian testing x64,firefox 68.0.1
kerem closed this issue 2026-02-25 22:36:41 +03:00
Author
Owner

@GoogleBeEvil commented on GitHub (Jul 22, 2019):

and for firefox get stucked,the bookmarks fails to be sync back

<!-- gh-comment-id:513747300 --> @GoogleBeEvil commented on GitHub (Jul 22, 2019): and for firefox get stucked,the bookmarks fails to be sync back
Author
Owner

@marcelklehr commented on GitHub (Jul 23, 2019):

Does this also happen when disabling speedup?

<!-- gh-comment-id:514074292 --> @marcelklehr commented on GitHub (Jul 23, 2019): Does this also happen when disabling speedup?
Author
Owner

@GoogleBeEvil commented on GitHub (Jul 23, 2019):

yes ,so this isnt speedup matter.just connect to webdav even you nnednt click sync ,just export and delete all your bookmarks,then restore bookmark by import , ,ram grows

<!-- gh-comment-id:514185530 --> @GoogleBeEvil commented on GitHub (Jul 23, 2019): yes ,so this isnt speedup matter.just connect to webdav even you nnednt click sync ,just export and delete all your bookmarks,then restore bookmark by import , ,ram grows
Author
Owner

@marcelklehr commented on GitHub (Jul 31, 2019):

just export and delete all your bookmarks,then restore bookmark by import , ,ram grows

In this case I dare say the problem is not with floccus, as floccus doesn't interfere with normal browser imports.

<!-- gh-comment-id:516761756 --> @marcelklehr commented on GitHub (Jul 31, 2019): > just export and delete all your bookmarks,then restore bookmark by import , ,ram grows In this case I dare say the problem is not with floccus, as floccus doesn't interfere with normal browser imports.
Author
Owner

@marcelklehr commented on GitHub (Aug 2, 2019):

If the browser is not the problem, this migt be fixes in the latest beta

<!-- gh-comment-id:517693702 --> @marcelklehr commented on GitHub (Aug 2, 2019): If the browser is not the problem, this migt be fixes in the [latest beta](https://github.com/marcelklehr/floccus/issues/338)
Author
Owner

@GoogleBeEvil commented on GitHub (Aug 4, 2019):

i dont know which side lead this ,but once floccus installed ,it appears. sync function is ok,but with webdav login in , import bookmark.json will memory leak.need to do more test.is there any log file that floccus created in firefox profile folder?

<!-- gh-comment-id:518003955 --> @GoogleBeEvil commented on GitHub (Aug 4, 2019): i dont know which side lead this ,but once floccus installed ,it appears. sync function is ok,but with webdav login in , import bookmark.json will memory leak.need to do more test.is there any log file that floccus created in firefox profile folder?
Author
Owner

@marcelklehr commented on GitHub (Aug 4, 2019):

I recommend creating a new profile, installing floccus (preferably the beta version linked above, so that you have the latest code). Then you can follow the steps for debugging outlined here

<!-- gh-comment-id:518006714 --> @marcelklehr commented on GitHub (Aug 4, 2019): I recommend creating a new profile, installing floccus (preferably the beta version linked above, so that you have the latest code). Then you can follow the steps for debugging outlined [here](https://github.com/marcelklehr/floccus/issues/338)
Author
Owner

@GoogleBeEvil commented on GitHub (Aug 4, 2019):

have tested the beta version with newly created profile,same result.
log file,seems nothing wrong
http://paste.debian.net/1094337/

<!-- gh-comment-id:518008868 --> @GoogleBeEvil commented on GitHub (Aug 4, 2019): have tested the beta version with newly created profile,same result. log file,seems nothing wrong http://paste.debian.net/1094337/
Author
Owner

@marcelklehr commented on GitHub (Aug 4, 2019):

This sync run caused a memory leak?! That's odd.

<!-- gh-comment-id:518010733 --> @marcelklehr commented on GitHub (Aug 4, 2019): This sync run caused a memory leak?! That's odd.
Author
Owner

@GoogleBeEvil commented on GitHub (Aug 5, 2019):

actully, I dont think sync cause memory leak ,but the "import bookmark.json from local file" function conflict with " webdav matters ".Only sync bookmark would not cause memoryleak,and if i delete my webdav account from floccus,then import boookmark.json,it wont memory leak.
Maybe the webdav service provider or ISP,whatever u call it,conflict with floccus,though it is hardly possible。
btw:i use jianguoyun.com as webdav ftp. I should try another webdav provider ,maybe. two more things:1.Both linux and windows are affected. 2.i dont test on chrome

<!-- gh-comment-id:518183976 --> @GoogleBeEvil commented on GitHub (Aug 5, 2019): actully, I dont think sync cause memory leak ,but the "import bookmark.json from local file" function conflict with " webdav matters ".Only sync bookmark would not cause memoryleak,and if i delete my webdav account from floccus,then import boookmark.json,it wont memory leak. Maybe the webdav service provider or ISP,whatever u call it,conflict with floccus,though it is hardly possible。 btw:i use jianguoyun.com as webdav ftp. I should try another webdav provider ,maybe. two more things:1.Both linux and windows are affected. 2.i dont test on chrome
Author
Owner

@marcelklehr commented on GitHub (Aug 10, 2019):

Thanks for the details! I think I know what the problem is.

<!-- gh-comment-id:520181295 --> @marcelklehr commented on GitHub (Aug 10, 2019): Thanks for the details! I think I know what the problem is.
Author
Owner

@marcelklehr commented on GitHub (Aug 10, 2019):

Could you try the new beta and report back?

<!-- gh-comment-id:520184525 --> @marcelklehr commented on GitHub (Aug 10, 2019): Could you try [the new beta](https://github.com/marcelklehr/floccus/issues/338) and report back?
Author
Owner

@GoogleBeEvil commented on GitHub (Aug 12, 2019):

seems fixed the problem ,but still have some issue,it get stucked and no response while testing ,though only just one time ,maybe it's the network problem.need further test

<!-- gh-comment-id:520401849 --> @GoogleBeEvil commented on GitHub (Aug 12, 2019): seems fixed the problem ,but still have some issue,it get stucked and no response while testing ,though only just one time ,maybe it's the network problem.need further test
Author
Owner

@marcelklehr commented on GitHub (Aug 19, 2019):

Any news?

<!-- gh-comment-id:522601523 --> @marcelklehr commented on GitHub (Aug 19, 2019): Any news?
Author
Owner

@GoogleBeEvil commented on GitHub (Aug 20, 2019):

just close this . it do have some other issues,but no related with this memory leak issue.actually ,i forget what the "other issues" is...maybe is the "merge local and webdav bookmarks and sync back",after i read the wiki and make sure how to reproduce it ,i will open new issues

<!-- gh-comment-id:522964258 --> @GoogleBeEvil commented on GitHub (Aug 20, 2019): just close this . it do have some other issues,but no related with this memory leak issue.actually ,i forget what the "other issues" is...maybe is the "merge local and webdav bookmarks and sync back",after i read the wiki and make sure how to reproduce it ,i will open new issues
Author
Owner

@GoogleBeEvil commented on GitHub (Aug 20, 2019):

BTW, the memory leak seems solved

<!-- gh-comment-id:522964734 --> @GoogleBeEvil commented on GitHub (Aug 20, 2019): BTW, the memory leak seems solved
Author
Owner

@github-actions[bot] commented on GitHub (Mar 21, 2023):

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:1477332391 --> @github-actions[bot] commented on GitHub (Mar 21, 2023): 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#280
No description provided.