Is it possible to debug “Terminated due to memory error”?

前端 未结 11 1624
Happy的楠姐
Happy的楠姐 2020-11-29 05:57

In a certain (consistent) point when my app is running, I consistently get the xcode error message

Terminated due to memory error.

11条回答
  •  佛祖请我去吃肉
    2020-11-29 06:14

    I got this error because I was adding full size photos to a collectionView cell sized 40x40. Read the 2 comments under the question from @matt. I had to scale down the images before adding them to the cell.

提交回复
热议问题