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

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.
主站蜘蛛池模板: 林周县| 阳东县| 广南县| 喀喇| 惠水县| 莲花县| 金秀| 渑池县| 湄潭县| 敖汉旗| 菏泽市| 肇州县| 砀山县| 青田县| 武安市| 科尔| 保靖县| 香河县| 隆林| 惠水县| 全椒县| 明溪县| 巩留县| 清新县| 米泉市| 阜阳市| 靖安县| 平塘县| 页游| 连云港市| 武山县| 张掖市| 安徽省| 曲靖市| 赤城县| 新津县| 松阳县| 东城区| 合川市| 平利县| 阿克陶县|