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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question How do I figure out where all of this untracked memory is coming from and what to do about it.

Discussion in 'Editor & General Support' started by Murram9, Jun 13, 2023.

  1. Murram9


    May 29, 2022
    After setting up Steam Audio in my project the editor would build up insane amounts of ram. Every time I enter play mode I gain 10-20 GB of ram and when I exit play mode it does not go away. If I want to continue using the editor I have to close the editor and reopen to clear the ram. I tried using the memory profiler but all of the ram usage that is actually a problem is untracked. Can someone please help?
  2. GrahamHuws


    Unity Technologies

    Mar 14, 2022
    Hi @Murram9 - I don't have experience with Steam Audio myself so I can't point to what the issue would be, but I would certainly expect that's where the untracked memory is coming from, and that the plugin is not making use of the Memory Manager API. It would be best to check this with native platform profiling tools (such as VS, for example) which should be able to confirm if this is the case. Assuming it is, I would recommend logging an issue with their package to add support for it.

    As for the actul large memory usage problem, the native tools may be able to provide you with some pointers - it may be another issue to log with Valve.