Jump to content

Memory leak in ReactionMonitor

Peter Han
  • Branch: Live Branch Version: Windows Pending

The ReactionMonitor class adds last reaction timestamps to a Dictionary, but never removes them. The dictionary thus slowly grows without bound, potentially causing out of memory on very large colonies if played for a long time.

Steps to Reproduce
  1. Load a colony with a huge number of reactables (sinks, ore scrubbers, checkpoints, and so forth)
  2. Trigger reactables many times
  3. Notice that memory usage is higher and will not go back down over time
  • Like 2
  • Thanks 1

User Feedback

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...