Skip to content

Fix bad dialog instantiation#2108

Merged
jocmp merged 1 commit into
mainfrom
jc/2089/miniflux-bug
May 12, 2026
Merged

Fix bad dialog instantiation#2108
jocmp merged 1 commit into
mainfrom
jc/2089/miniflux-bug

Conversation

@jocmp
Copy link
Copy Markdown
Owner

@jocmp jocmp commented May 12, 2026

Fixes a bug where the edit feed dialog was instantiated on each feed row such that the resulting feed allocations totaled O(N^2) which reliably caused an OutOfMemory exception.

For an account with 175 feeds, this resulted in ~30k feed allocations (175^2).

The fix is to only construct the dialog when it's opened.

Ref

Fixes a bug where the edit feed dialog
was instantiated on each feed row such that
the resulting feed allocations totaled O(N^2)
which reliably caused an OutOfMemory exception.

For an account with 175 feeds, this
resulted in ~30k feed allocations (175^2).

The fix is to only construct the dialog when it's opened.
@jocmp jocmp force-pushed the jc/2089/miniflux-bug branch from 4ae6b57 to bbab327 Compare May 12, 2026 02:10
@jocmp jocmp merged commit b01b38d into main May 12, 2026
2 checks passed
@jocmp jocmp deleted the jc/2089/miniflux-bug branch May 12, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant