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

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.
主站蜘蛛池模板: 万宁市| 缙云县| 北碚区| 兴城市| 河源市| 泸定县| 鹤壁市| 铅山县| 辽源市| 图片| 修文县| 通城县| 读书| 奎屯市| 南宁市| 铁岭县| 镇宁| 胶州市| 贡觉县| 安达市| 灵台县| 屯门区| 柘荣县| 枝江市| 娱乐| 铜陵市| 湟源县| 富蕴县| 苏尼特左旗| 三原县| 乌拉特前旗| 夏津县| 赫章县| 宁河县| 曲阳县| 扎兰屯市| 调兵山市| 瓮安县| 甘泉县| 呼和浩特市| 南昌县|