Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Editor Memory Usage

Discussion in 'Editor & General Support' started by MarlonMarly, Mar 7, 2023.

  1. MarlonMarly

    MarlonMarly

    Joined:
    Jun 21, 2021
    Posts:
    17
    Our multiplayer game allocates quite a bit of memory when running but is memory stable on both client and server builds with incremental GC. In editor when we run test scenes for either client or server we start to see fairly significant increases in Heap size, this leads to situations where after working for a few hours the editor can have a unused managed heap size of several GB. Worth noting that the allocations are usually greater in editor from debug logic that runs for several purposes, but should still be manageable I think.

    Is there anything we can do to either increase the GC frequency in editor or force a more aggressive clean-up of the used heap when not in play mode?

    Thanks
    Marlon