bevyengine / bevyengine/bevy

bevy memory usage grows over time

Open
#5,691 11 comments 2 reactions 0 assignees View on GitHub
A-Diagnostics A-UI C-Docs C-Performance
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version

0.8

## What went wrong

I left a bevy app running in the background for a long time, and well, it grew to 12 GB memory usage over the course of ~8 hours.
The App is just a few planes and a simple controller system.

![image](https://user-images.githubusercontent.com/24433899/184551225-f35c3b4f-381d-4e75-9def-1b418b4a1a32.png)

It seems that a bevy app just with the default plugins and nothing else also grows over time, so it's not my code but a bevy problem.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, entry points, or tests. Start by reproducing the reported memory growth with Bevy 0.8, first using only the default plugins and then the minimal plane application, while measuring usage over time. Done means identifying the source of the growth and confirming that memory remains stable after the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.