How to know what object or piece of code is continually consuming memory when App is really in idle state in iOS 7 with Xcode 5?

Mr. Sun Lin

As the title described, I'm wandering what's going on that my app is continually consuming more and more memory when it is really in idle state?

Would it have something todo with the ADBannerView? It's the only object who is continually doing its own work when the app is in idle state. But logically it doesn't.

I have already checked the memory leak matter by Profile and Analyze, they reported nothing, and there have no zombies, and every time when I pause the app, it always stop at the mach_msg_trap, everything seems ok.

I have used the Allocation Instruments to profile the app for about 2 hours in idle state, the allocation curve didn't change in the whole 2 hours and remained at a very low level.

But int he Xcode, the memory consumption continually goes higher and higher, when the app has run abut 20 minutes, there comes the memory warnings, and then about 20 minutes later, the app is terminated because of memory shortage.

The testing device is iPhone 4S

Kirby Todd

Profile with Allocations instrument and watch it at idle for a while.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

iOS:Convert ObjC code to C#, How to know the time app has been idle

From Dev

How to debug an cordova app on iOS7 with XCode 5

From Dev

How to debug an cordova app on iOS7 with XCode 5

From Dev

Is swift by default autorelease? What causes memory growth when the app is idle?

From Dev

How to use iOS Simulator 7 \ XCode 5 to test pre-iOS 7 UI (without upgrading the app for iOS 7)

From Dev

Instruments show memory leak - Xcode 5 / iOS7

From Dev

What are they doing in this piece of code (Assigning $({}) to an object property)?

From Dev

iOS7 xCode5 how to resolve "invalid product ID" for in app purchases in 2014?

From Dev

Is a mutex really necessary in this piece of code?

From Dev

Is a mutex really necessary in this piece of code?

From Dev

In App Purchase not working on Xcode 5, iOS 7 simulator

From Dev

Disable Orientation in iphone app. iOS 7 - Xcode 5

From Dev

CorePlot throws exceptions in iOS7 app / Xcode5

From Dev

How does Xcode know which app to replace when updating

From Dev

How to know about app launched and details jailbreak iOS 7

From Dev

How to install iOS 7 and onwards simulators in Xcode 7 Beta 5?

From Dev

Invalid path when localising iOS app - Xcode 7

From Dev

How to know which piece of code runs on driver or executor?

From Dev

How do I call delegates in iOS programming? How does the app know when the code should run if I never call it?

From Dev

XCode 5 and iOS 6 and 7

From Dev

XCode 5 and iOS 6 and 7

From Dev

This bundle is invalid . New app and app updates submitted to the app store must be build with xcode 5 and ios 7 sdk

From Java

What are the parenthesis in this piece of code for?

From Dev

What is wrong with this piece of code?

From Dev

what is wrong with this piece of code?

From Dev

What is the "returnto" in this piece of code

From Dev

How do I set the default locale in xcode 5 and ios 7?

From Dev

What is the best approach when it comes to validating forms in an iOS 7 app?

From Dev

Using Instruments to trace memory leak Xcode5 and iOS7

Related Related

  1. 1

    iOS:Convert ObjC code to C#, How to know the time app has been idle

  2. 2

    How to debug an cordova app on iOS7 with XCode 5

  3. 3

    How to debug an cordova app on iOS7 with XCode 5

  4. 4

    Is swift by default autorelease? What causes memory growth when the app is idle?

  5. 5

    How to use iOS Simulator 7 \ XCode 5 to test pre-iOS 7 UI (without upgrading the app for iOS 7)

  6. 6

    Instruments show memory leak - Xcode 5 / iOS7

  7. 7

    What are they doing in this piece of code (Assigning $({}) to an object property)?

  8. 8

    iOS7 xCode5 how to resolve "invalid product ID" for in app purchases in 2014?

  9. 9

    Is a mutex really necessary in this piece of code?

  10. 10

    Is a mutex really necessary in this piece of code?

  11. 11

    In App Purchase not working on Xcode 5, iOS 7 simulator

  12. 12

    Disable Orientation in iphone app. iOS 7 - Xcode 5

  13. 13

    CorePlot throws exceptions in iOS7 app / Xcode5

  14. 14

    How does Xcode know which app to replace when updating

  15. 15

    How to know about app launched and details jailbreak iOS 7

  16. 16

    How to install iOS 7 and onwards simulators in Xcode 7 Beta 5?

  17. 17

    Invalid path when localising iOS app - Xcode 7

  18. 18

    How to know which piece of code runs on driver or executor?

  19. 19

    How do I call delegates in iOS programming? How does the app know when the code should run if I never call it?

  20. 20

    XCode 5 and iOS 6 and 7

  21. 21

    XCode 5 and iOS 6 and 7

  22. 22

    This bundle is invalid . New app and app updates submitted to the app store must be build with xcode 5 and ios 7 sdk

  23. 23

    What are the parenthesis in this piece of code for?

  24. 24

    What is wrong with this piece of code?

  25. 25

    what is wrong with this piece of code?

  26. 26

    What is the "returnto" in this piece of code

  27. 27

    How do I set the default locale in xcode 5 and ios 7?

  28. 28

    What is the best approach when it comes to validating forms in an iOS 7 app?

  29. 29

    Using Instruments to trace memory leak Xcode5 and iOS7

HotTag

Archive