FyroxEngine / Fyrox

3D and 2D game engine written in Rust

Home Page:https://fyrox.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Selecting and Deselecting Objects Cause Memory Increasing (Leaking?)

IceGuye opened this issue · comments

There are a few occasions which may cause memory increasing (or leaking?), such as selecting and deselecting objects.

System: Feodra Linux 38 with Gnome X11.
Version: Newest git master.
Reproduce:

  1. Use fyrox-template to create a brand new 3D project.
  2. Change the cargo.toml to the git master.
  3. Start the editor with cargo run --package editor --release.
  4. Select and deselect some object, such as the default cude, light, and camera.
  5. Check the system monitor to see the memory increasing.

See the video for details.

2023-11-02_00-16-41.mp4

Works on my PC I can't reproduce this on Windows, I selected and deselected various objects dozens of time and memory usage was increased on just 1 Mb. Which is expected, because selection/deselection creates a bunch of commands.

I think this issue can be closed, according to discord conv