Skip to content

Optimize: Leaky Frame Memory - #128

Open
dirwin31 wants to merge 1 commit into
firestar5683:Domfrom
dirwin31:ReleaseTheFrame
Open

Optimize: Leaky Frame Memory#128
dirwin31 wants to merge 1 commit into
firestar5683:Domfrom
dirwin31:ReleaseTheFrame

Conversation

@dirwin31

@dirwin31 dirwin31 commented Sep 7, 2026

Copy link
Copy Markdown

Description

Release the redundant local camera-frame reference after processing so parked/offroad cleanup
can free the image. Preserve the instance-owned frame for bookmarks, training captures, and
detection.

Verification

  • All 39 speed-limit vision tests passed; Ruff passed.
  • Confirmed the retention test fails before the fix and passes afterward.
  • Verified parked/offroad cleanup, resumed inference, and frame availability during capture
    callbacks.

@dirwin31 dirwin31 changed the title Leaky Frame Memory Optimize: Leaky Frame Memory Sep 7, 2026
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