Ticket #441 (new task)
Run the GC occasionally
|Reported by:||Philip||Owned by:||Philip|
|Priority:||Nice to Have||Milestone:||Backlog|
|Component:||UI & Simulation||Keywords:|
JS won't automatically run the GC until it's run out of memory, which might be an inconvenient time to freeze the simulation. We should probably call it manually at regular intervals, when it's least likely to cause disruption (e.g. during a frame when it's not also busy doing all the simulation computation), to make it more predictable.