Using Tool Distribution with an iPad Application

I have a problem with my iPad application. After work for approx. 15 minutes, it crashes with the โ€œProgrammatically received signal:โ€œ 0 โ€displayed in the log file. From Google I found that this is probably a memory problem. There are also some memory warnings in the console log on the iPad before the crash, which seems to confirm this.

I launched my application in the Tools (xcode "Run" โ†’ "Run using the Performance Tool" โ†’ "Selection"). Here I am a little confused. The tools show me Live Bytes and General Bytes. As far as I understand, "Live Bytes" is the actual amount of memory for the application, and "Total Byte" is the total amount of all memory that has been allocated and subsequently released. In my application, "Live Bytes" sits in approx. 1.5 MB, while "General bytes" gradually rise to 500 MB, after which the application crashes.

My question is, how much memory is my application actually using? 500 MB certainly seems to be a problem for the iPad, but 1.5 MB certainly does not.

thanks

Stewart

+4
source share
1 answer

To actually read how much memory is used by your application, do not use the Object Allocations tool, but instead go to the memory monitor. The latter will give the actual memory size of your shared application.

In cases where Object Allocations is great for determining which objects you accumulate using the new heapshot function. I highly recommend reading Bill Bumgarner's related article .

+7
source

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


All Articles