Image transforms buffer originals twice and have no decode limit
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- aws, azure, csharp
- Bereich
- backend, performance
Rechercherichtung
Start with MediaTransforms.cs around lines 159 and 179, then trace the full-size decode in SkiaImageProcessor and the AI alt-text path that shares it. The proposal names several coordinated changes, including buffering, single-flight requests, a decode semaphore, and downscaled decoding. Done means concurrent requests for one cold variant decode once and decodes are capped per instance.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Problem
MediaTransforms.RenderAsync (MediaTransforms.cs:159,179) opens the source twice; on S3 and Azure each open buffers the whole file. The full-size decode in SkiaImageProcessor allocates up to about 200 MB at the default MaxSourcePixels, and nothing caps concurrent decodes or deduplicates requests for the same variant, so a burst of first visits can exhaust memory. The AI alt-text path uses the same code.
Proposal
Use the stored dimensions instead of the first read, spool non-seekable sources once to a temporary file, single-flight per variant, a global decode semaphore, and decode downscaled when the target is much smaller.
Acceptance
- Concurrent requests for one cold variant decode once
- Decodes are capped per instance
Found in the code review of 17 Nov 2026 (P2).
- Vorherrschende Sprache
- C#
- Sterne
- 569
- Forks
- 107
- Ø Merge
- 2 Std. 49 Min.
- Gemergte PRs (30 T.)
- 397
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus fluentcms/FluentCMS
-
area:host area:operations type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:build security type:chore
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:sdk security type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:content security type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:build type:bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in fluentcms/FluentCMS
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
microsoft/microsoft-ui-reactor#1567 ·
Maintainer antworten meist innerhalb von 1 Tag
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
openclaw/openclaw-windows-node#2287 · 2 Kommentare · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
kind:ux needs-triage
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
elsa-workflows/elsa-foundation#4742 ·
Maintainer antworten meist innerhalb von 1 Tag
-
priority:P2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100