Skip to content

Excessive Memory Usage in Blitz #286

@NullDict

Description

@NullDict

Description:
I've observed abnormally high memory usage in Blitz. A simple demo application occupies over 200MB of memory, which is close to the memory footprint typical of Electron-based projects.
Additionally, when the demo is left idle for an extended period (usually over 30 minutes), memory usage drops to around 50MB. This suggests that the additional memory consumption may be due to a bug.
The issue can be reproduced using the todomvc example from the repository (the counter example exhibits the same behavior).

Steps to Reproduce:
Use the todomvc example from the repository
Build with: cargo build --release in the todomvc directory
Run the application
Observe memory usage in Task Manager, memory usage exceeding 200MB

Environment:
OS: Windows 11 Pro (amd64) 24H2 Build 26100.6899
Display Language: Simplified Chinese
Rust: rustc 1.91.0
MSVC: V143
CMake: 4.1.2
Build Configuration: Release mode

When start demo, memory usage observed in task manager.
Image

After idle 40 mins.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions