Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在内部如何设置堆栈和堆的最大大小?我们如何确定它的最大尺寸?我没有将它用于我的任何项目。但这只是出于好奇。
iPhone/iOS 支持虚拟内存(只是在正常使用时没有后备存储),以及比物理 RAM 大得多的虚拟地址空间。因此,堆栈或堆的最大大小是直到所有(可能是脏的)内存使用量(在分配的页面中)的总和用完当前应用程序进程/沙箱的可用内存,这将取决于正在运行的其他内容系统。