Skip to content

Feature request: Add Lightweight Mode (destroy/unload WebView process when minimized to tray) #299

Description

@Brajesh3

What would you like to see?

Add an optional "Lightweight Mode" setting (destroy webview/rendering process when minimized to tray) to drastically reduce background memory footprint while keeping background transfer services active.

When enabled:

  • Closing or minimizing DashBeam to the system tray destroys/unloads the frontend WebView2 / renderer process.
  • The core background service remains running in the system tray with minimal overhead.
  • Restoring from the system tray re-instantiates the frontend window/view.

Why would this be helpful?

DashBeam is designed to stay running in the background for local peer-to-peer file transfers, but keeping the full webview process loaded consumes a noticeable amount of system memory:

  • Current DashBeam idle/background usage: ~250 MB total (WebView2 runtime processes take ~235 MB plus ~21 MB for DashBeam core).
  • With Lightweight Mode: Background memory drops to the bare minimum required for the core process (typically under 10–20 MB), saving resources for users who keep the app running in the background 24/7 or on low-spec machines.

Anything else you'd like to add?

A similar feature is implemented in AnInsomniacy/motrix-next under Preferences > General > Tray & Dock > Lightweight Mode ("When enabled, the rendering process is destroyed on minimize to tray to reduce memory usage"), bringing its background footprint down to under 10 MB.

Image Image Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions