Skip to content

Slow memory leak #14463

@re0312

Description

@re0312

Objective

bevy_main

Windows11,Nv 4070ti ,13600kf

What you did

cargo run --release --example many_cubes

I went to have a meal and when I came back, I discovered that the memory usage had increased significantly.
after profiling , I identified a memory leak of approximately 100 KB/s (at 400 fps).

The memory leak appears to be positively correlated with frame rate.

This issue can also be reproduced in the 3d_scene , resulting in a faster leak (500KB/s 1600fps) if you enable AutoNoVsync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorC-PerformanceA change motivated by improving speed, memory usage or compile timesS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions