Xcode Instruments' Allocation tool misses quite a bit

后端 未结 1 1133
无人及你
无人及你 2021-01-05 13:31

My app has been crashing a lot, for reasons that I\'m struggling to understand. It\'s not so much that it\'s crashing -- it\'s getting killed by an outside \"Unknown\" proce

1条回答
  •  生来不讨喜
    2021-01-05 13:47

    I think VM space includes things like shared frameworks and mapped memory whereas allocations may not...

    I guess resident size is closer to the actual amount of RAM used. Pure VM memory could just be mapped address space, not actual physical RAM consumed.

    For example, looking at Safari, I see 1.92 GB virtual memory mapped, but closer to 549 MB resident, which I think makes sense... enter image description here

    0 讨论(0)
提交回复
热议问题