官术网_书友最值得收藏!

Allocation Callstack

By activating the Allocation Callstack option, Unity Profiler will collect more info about the game's memory allocations without requiring Deep Profile:

If the option is enabled, you can click on the red boxes representing memory allocations and Profiler will show you the origin and the cause of that memory allocation:

In Hierarchy view, instead, you still need to select an allocation call. Then, you need to switch to Show Related Objects in the drop-down menu in the upper-right corner and then select one of the N/A objects. After that, you'll see Callstack info in the box underneath.

We will talk more about memory allocations in Chapter 8Masterful Memory Management.

At the time of writing, in Unity 2019.1, Allocation Callstack works only when profiling in the Editor.
主站蜘蛛池模板: 衡阳县| 景谷| 雷波县| 黄山市| 鹤山市| 故城县| 铜山县| 仙游县| 巩义市| 邻水| 靖边县| 常州市| 安国市| 托克托县| 临猗县| 黄浦区| 丹阳市| 鸡西市| 襄樊市| 高唐县| 临海市| 祁门县| 卓尼县| 蓬安县| 沅江市| 双辽市| 黄骅市| 宣武区| 北安市| 腾冲县| 缙云县| 河东区| 嘉祥县| 黔南| 通江县| 长宁区| 水富县| 藁城市| 乐陵市| 博爱县| 禄丰县|