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. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

Display only "Graphics and Graphics Driver." from the memory list

Discussion in 'Profiler Previews' started by Tetsuya_OYA, Feb 1, 2022.

  1. Tetsuya_OYA

    Tetsuya_OYA

    Joined:
    Jul 20, 2013
    Posts:
    13
    Hello.
    I would like to know the details of the memory of "Graphics & Graphics Driver".
    (The part surrounded by red in the attached image.)

    Is it possible to filter
    only the applicable items from the memory list at the bottom of the screen?
    Memory_Profiler_0201.png
     
    Last edited: Feb 2, 2022
  2. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    1,896
    Hello,
    The numbers for these main categories come from the same backend as the simple memory Profiler Module uses + Virtual Machine and Executable & DLLs numbers taken from the capture data. I.e. for the most part, they are numbers, reported as is, and not calculated from the snapshot data.

    As for the Graphics & Graphics Driver one, that's GPU memory reported from the Graphics API handling Subsystem. Beyond that number, the snapshot data currently does not contain any information how much of a graphics assets memory reside on GPU or CPU memory, and there would also be native buffers that wouldn't be mixed in with the Tree Map and "*Objects" tables.

    The current table filtering logic also doesn't have any concept of an OR connection between filter blocks. Beyond the 0.5 update we'll release, very probably today, we won't add anything new to these tables but build new ones that allow us to tackle such things and a whole host of other UX improvements easier going forward.

    Work for getting GPU vs CPU data reproted per Asset/allocations is also under way so, we'll get that sorted but it's gonna take a moment. And lastly, the categories in the bars might change as we get closer to having the full data.
     
    Last edited: Feb 3, 2022
    Jes28, codestage and Tetsuya_OYA like this.