Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Disk usage leak in ProjectManager: welcomeProjects grows forever #2809

@peterflynn

Description

@peterflynn

I got a weird exception in Brackets tonight: QUOTA_EXCEEDED_ERR in PreferencesManager. It was trying to save an 887 KB JSON string.

After some investigation, I found this prefs key to be the problem: prefStorage["com.adobe.brackets.ProjectManager"].welcomeProjects

My welcomeProjects array is 11918 items long. They all point to the same exact folder.

I haven't cleared my cache in a long while, so I assume it's just been tacking on one entry per reload / project-open cycle for the whole time.

It also seems problematic that our prefs store is limited to < 900 KB. It seems like eventually we'll hit that wall for legitimate reasons too. We should see if there's a CEF API that will let us increase the limit.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions