What could be the reasons for the data Performance tool is high. [show on Xcode VM tracker]

I recently profiled my application using the Xcode VM tracker utility. I found that the application has a lot of dirty memory, especially performance tool data. So I want to know what is the reason for the huge data on dirty memory and performance. Any help would be greatly appreciated.

Here is the image

+6
source share
2 answers

Your application takes 51 MB to store when it is paused. The performance tool alone adds 30 MB of overhead. Which leaves 20 MB for your application.

Of the items listed, it looks like your application is heavy. In fact, it looks very similar to this post . Which makes me wonder if these objects continue to be processed or are waiting for exit when the application is paused.

As an alternative, I wonder if you can download a lot of animations and images when you enter the background for free and restore them when you enter the foreground.

Finally, note that Apple recommends removing strong links to images, data from disk and media to reduce dirty memory.

+3
source

Since I had the same problem, here's what I found: Performance Tool Data data is taken from libBacktraceRecording.dylib.

You can disable the backtrace entry in the schematic editor.

See the related question Memory leak using "libBacktraceRecording.dylib" in the React Native ios application .

+2
source

Source: https://habr.com/ru/post/971519/


All Articles