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

Question Detect ram usage in build

Discussion in 'Editor & General Support' started by JamesBoink, Jan 2, 2023.

  1. JamesBoink

    JamesBoink

    Joined:
    Feb 17, 2021
    Posts:
    1
    Hello!
    Im pretty fresh to unity - and have a question. Is there a way to display how much ram a game is using at the moment BUT IN BUILD?(sry for caps but I can't find an answer online and it's quite frustrating) I mean just like in task manager but strictly for iOS- would be the best if there is a way to get this value so then i could display it in text and monitor it in build.
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,244
    Use the profiler or if you want more in depth info the memory profiler
     
  3. nasos_333

    nasos_333

    Joined:
    Feb 13, 2013
    Posts:
    12,798
    macOS users can see how much memory a program is using in the Activity Monitor. Follow the general steps below to access the Activity Monitor in macOS.

    1. In the macOS main menu, select Applications > Utilities.
    2. Click the Activity Monitor utility in the list.
    In the Activity Monitor utility, you can see the name of each process running ("Process Name" column) and how much memory each process is using ("Real Mem" column).
     
  4. alexeyzakharov

    alexeyzakharov

    Unity Technologies

    Joined:
    Jul 2, 2014
    Posts:
    505
    you can use
    System Used Memory
    counter as shown at https://docs.unity3d.com/Manual/ProfilerMemory.html
    (on most systems that would be a commited size)
     
    MartinTilo likes this.