mach_vm_map失败(错误代码= 3)

 红昊子楽楽七_358 发布于 2023-02-06 09:11

在我的iPAD应用程序导航一段时间后,我注意到应用程序的响应速度越来越慢,最后我的应用程序崩溃,出现以下错误

    AppName(1779,0x3d12d18c) malloc: *** mach_vm_map(size=167936) failed (error code=3)
    *** error: can't allocate region
    *** set a breakpoint in malloc_error_break to debug
    Jan  7 11:34:30  AppName[1779] :   at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <0xffffffff>
    Jan  7 11:34:30  AppName[1779] :   at MonoTouch.UIKit.UIApplication.Main (string[],string,string) <0x0012b>
    Jan  7 11:34:30  AppName[1779] :   at AppName.Application.Main (string[]) <0x0002f>
    Jan  7 11:34:30  AppName[1779] :   at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>

这是一个与记忆有关的问题吗?

1 个回答
  • 是的,这是一个内存问题:你内存不足.

    我建议你使用Instruments来尝试追踪任何内存泄漏.

    2023-02-06 09:14 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有