Skip to content

BUG: Bookmarks plugin cause memory leak #2138

@VictoriousRaptor

Description

@VictoriousRaptor

Checks

  • I have checked that this issue has not already been reported.

  • I am using the latest version of Flow Launcher.

Problem Description

Summary: Flow eating up gigs of RAM after running continously for serveral days to weeks.

Hey, i can't open an issue on github atm, but if you're interested i think i managed to pinpoint what causes the growing memory usage.
It turns out that it's the default Browser Bookmarks plugin. The interesting thing is that it slowly eats RAM even if the plugin is turned off, and only stopped when completely removing the plugin (i didn't test if turning off individual browsers in settings has the same effect).
So it seems that there's a bit more to this issue: #2120

Win10, Flow v1.15.0, Firefox ESR branch, also i remember few other browsers being enabled by default in plugin so additionally there's also: Opera + Chrome installed on the system, but basically never used.

I noticed that having Browser Bookmarks either enabled or disabled it sometimes grabs another chunk of RAM when i opened any bookmark in Firefox, but there was no other action that would(?) modify places.sqlite (adding/editing/removing bookmakrs).
When Browser Bookmarks was enabled/disabled after flow launcher restart, memory usage slowly grew throughout the day of using Firefox, from the normal 160-180MB after restart to 500MB~ at the end of the day and 1000MB~ at day3, after removing Browser Bookmarks i'm at 167,2MB on day2.

I can't tell exactly if there's a bigger issue in Flow that would act the same way, but on a significantly slower rate and Browser Bookmarks just being the more obvious suspect, but at the end of the day it's still weird that it even does anything when the plugin is disabled.

To Reproduce

  1. ...
  2. ...
  3. ...

Screenshots

No response

Flow Launcher Version

1.15.0

Windows Build Number

Windows 10

Error Log

Replace this line with the important log contents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions