我是iPhone软件开发工具包的新手。我带上了ELCImagePickerController。当我滚动图书馆的时候,它崩溃了,并给了我一个原因:GuardMalloc[Traveler's Note-2211]: Failed to VM allocate 16 bytes GuardMalloc[Traveler's Note-2211]: Explicitly trapping into debugger!!! GuardMalloc[Traveler's Note-2211]: Failed to VM allocate 112 bytes GuardMalloc[Traveler's Note-2211]: Explicitly trapping into debugger!!!
请帮帮我。谢谢你。
发布于 2012-07-23 15:30:26
看起来你的内存快用完了。因为您的日志显示,如VM无法分配X字节的内存。
这里有一个链接,可以帮助你解决你的问题。
您是否实现了didReceiveMemoryWarning方法?如果是这样的话,在里面放一个NSLog,看看你的内存是否不足。
https://stackoverflow.com/questions/11606976
复制相似问题