Xcode tools. What is virtual memory? IPhone OS doesn't have a virtual machine?

I looked at the Memory Monitor in Tools and I scratch mine. Why does it display virtual memory? IPhone OS does not have virtual memory. What does it mean?

Does it bother me that I receive memory warnings for my iPad application, but the real application memory never exceeds 70 MB, and the virtual memory never exceeds 180 MB?

Can someone please enlighten me?

Cheers
Doug

+4
source share
1 answer

( Virtual memory does not mean (simply) using the hard drive as memory, but a method that converts the addresses used in the application into real physical memory.)

From New Feature in iPhone OS 3.1 with Snow Leopard: VM Tracker :

The VM Tracker tool is designed to report on the virtual memory space of the target process, displaying all regions displayed in the address space, as well as information and statistics related to the type of matching. For example, a region, which is a memory mapped file using the mmap call, will be displayed as the "mapped file" area and displays the path to the file that it refers to. The tools show size statistics for each region: virtual, resident and dirty.

+3
source

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


All Articles