wowsims / cata

World of Warcraft Cataclysm Classic simulations.
https://wowsims.github.io/cata/
MIT License
24 stars 46 forks source link

Memory leak after opening Cataclysm Ret Sim #876

Open BGannon2 opened 1 month ago

BGannon2 commented 1 month ago

Describe the bug When you open the Ret sim and just let it sit on the sim without doing anything it will eventually just eat up all of the available RAM on your system.

v0.0.47 on Windows 11 using Firefox

To Reproduce Steps to reproduce the behavior:

  1. Download the sim
  2. Open Task Manager (control + shift + escape)
  3. Open and run the sim
  4. Open the Ret Sim
  5. Sort Task Manager by Memory and watch the sim eat ram

Expected behavior The Sim runs with minimum RAM while idle.

Sim Links and Screenshots image

Desktop (please complete the following information):

BGannon2 commented 1 month ago

@1337LutZ noted in discord that this is probably related to use of Firefox.

gilp456 commented 1 month ago

@BGannon2 I also see this issue with Chrome. It started happening after I attempted to use the Batch feature once. Now, each time I load the Windows exe version of the Wowsims app, the memory leak is happening.

FelixPflaum commented 1 month ago

This has nothing to do with the browser, the wowsims.exe itself uses the memory.

1337LutZ commented 1 month ago

This has nothing to do with the browser, the wowsims.exe itself uses the memory.

Ahhhh yea, I misread it.

1337LutZ commented 1 month ago

@BGannon2 I also see this issue with Chrome. It started happening after I attempted to use the Batch feature once. Now, each time I load the Windows exe version of the Wowsims app, the memory leak is happening.

So even if you don't use the Batch sim it will leak? 🤔

gilp456 commented 1 month ago

Yes, but I can't get it to reproduce cleanly. The first time it happened I imported my gear into the batch sim. The program soft hung and I was forced to close it via task manager. After that it always showed the memory leak symptom when I launched wowsim windows exe. I tried spinning up a windows virtual machine to repro but was unsuccessful so far. Will keep trying.