YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
26 stars 8 forks source link

GMS editor slowly uses more and more memory #8148

Open gm-bug-reporter[bot] opened 2 weeks ago

gm-bug-reporter[bot] commented 2 weeks ago

Description

If I leave GMS open it will slowly consume more and more memory. Maybe for most computers that is not a big deal, but on a Mac Mini with only 8GB of RAM, the IDE becomes pretty unresponsive. It goes from about 2 GB to over 8GB, at which point I have to quit it and restart to keep working. It's been like this for many years.

Steps To Reproduce

Open a decent size project on a Mac and just edit files for a day or two, and watch the memory usage double, triple, and more...

Which version of GameMaker are you reporting this issue for?

IDE v2024.8.1.171 Runtime v2024.8.1.218

Which operating system(s) are you seeing the problem on?

Mac 14.6

dd6cf4f5-f1db-4845-8245-b89cbbadcd16

jackerley commented 2 weeks ago

Can we apply a limit to the undo/redo stack?

gnysek commented 2 weeks ago

I have no idea why "unlimited" is still allowed...

tinkerer-red commented 2 weeks ago

For people with 256gb of ram who don't care, blender caps a hard limit on undos and that is a nightmare. adding to that any default value used will surely be too little or too much for a vast number of people. Ideally a ram limit, or ram percent limit would be a better alternative then a standard cap to the number of undo/redo, despite it being a fair bit more work.

gnysek commented 2 weeks ago

ram_size * 64 sounds reasonable for me.