Jump to content

Too many GC.Collect() slowdown game. FPS to 1


vvios
  • Branch: Live Branch Version: Windows Pending

When the memory consumption is greater than 4G, the cycle is greater than 2000, and the number of resources is too large.

then too many GC.Collect() slowdown game.  FPS reduced from 20 to 1.

this happed  every 10+ second. 

 

i use this config (unity boot.config)

gc-max-time-slice=3
job-worker-count=5


Steps to Reproduce

1, just get a big save file.

2, open it.

3, add 200 Animals

4, kill all.  

5,then wait . FPS drop to 1. every 10 second




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...