The three hard constraints of an iOS keyboard extension
iOS keyboard extensions have strict memory constraints (60MB phys_footprint), enforced by silent termination. To manage memory, engineers must instrument and measure memory usage, rather than guessing. This involves using functions like malloc_get_all_zones and task_vm_info_data_t to track dirty heap and mapped files.