Using Instruments to Work Through Low Memory Warnings

后端 未结 6 1816
一生所求
一生所求 2020-12-31 10:57

I am trying to work through some low memory conditions using instruments. I can watch memory consumption in the Physical Memory Free monitor drop down to a couple of MB, eve

6条回答
  •  时光取名叫无心
    2020-12-31 11:05

    When I'm reading your text, I have the impression that you might have some hidden leaks. I could be wrong but, are you 100% sure that you have check all leaks?

    I remember one particular project I was doing few month ago, I had the same kind of issue, and no leaks in Instruments. My memory kept growing up and I get memory warnings... I start to log on some important dealloc method. And I've seen that some objects, subviews (UIView) were "leaking". But they were not seen by Instruments because they were still attached to a main view.

    Hope this was helpful.

提交回复
热议问题