-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Describe the bug
Pressing the sim button either through the DPS or SIM 1 ITERATION consecutively would spike memory usage infinitely. Waiting for a min after the sim finish would reduce the spike. However the base memory usage of the sim would increase more and more as you press the sim button.
This could be reproduced in any fight time but the problem gets more pronounced as you increase the fight time. Simming one iteration of 5000s duration of sim for 5 times would result in memory usage of up to 3GB before normalizing to 1.7GB compared to 300MB initial memory usage (observed through task manager).
To Reproduce
Steps to reproduce the behavior:
- Open task manager or similar tool to observe memory usage and observe the initial memory usage
- Load the linked sim
- Click on
DPS(1 iteration) orSIM 1 ITERATIONbutton 5 times - Observe memory usage during simming
- Observe memory usage few minutes after simming
Expected behavior
Previous iterations of sim's memory should not be carried to next iterations of sim i.e., the memory usage should stay the same on each sim iterations.
Sim Links and Screenshots
Screenshot
Memory usage at the beginning:

Memory usage spike after 5 times single iteration simming using the link above:

Memory usage after waiting a minute after the consecutive simming:

Desktop (please complete the following information):
- OS: Windows 10
- Browser Google Chrome
- Version 100.0.4896.127