Jump to content

What can I do outside of KSP to reduce garbage collection stutters?


Recommended Posts

Not really.

Faster memory and CPU will reduce the -length- of the stutters (as they complete faster), but if you have anywhere near modern hardware there is not much improvement that can be had.

More memory will only help if you are memory starved ( < 8gb), and even then it can only delay the onset of the stutters, and only when combined with something that increases the Unity heap size (see below)  (without the heap-size increase, KSP won't use the additional memory unless it 'needs' it for new allocations)

The only 'fix' that I'm aware of is to use MemGraph(?) and up the heap size.  This doesn't solve the problem, but it will reduce the frequency of the pauses (but can also make them longer when they do occur, as there is more stuff in memory to look over for GC).

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...