Question

  • Creator
    Topic
  • #4044164

    How to see malloc history for custom keyboard extension in iOS?

    by himab9688 ·

    Tags: 

    For other applications we can enable malloc history and can clearly see the issue causing memory problems but when i am trying to debugg for my custom keyboard extension , i’m unable to fetch the history . I know the fact that custom keyboard extensions run in a separate process from the host app, and iOS does not provide access to the malloc history for other processes but can there be any possibility through which i can see ? Can jailbreaking device provide any sort of help ?

    I tried dubbing using memory profiling instruments provided by xcode . I got the number of memory leaks and memory allocations but can’t get the in depth history the get the root cause.

You are posting a reply to: How to see malloc history for custom keyboard extension in iOS?

The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our Community FAQs for details. All submitted content is subject to our Terms of Use.

All Answers

  • Author
    Replies
    • #4044365
      Avatar photo

      The overall answer must be no.

      by rproffitt ·

      In reply to How to see malloc history for custom keyboard extension in iOS?

      In order to keep iOS secure the OS must not allow such inspection outside or your app.

      However you could add code to watch free memory and log that to see what API calls are causing memory consumption.

      Still odd to read the above since the iOS machines I use have gigabytes of memory. What are you doing to use even a megabyte?

Viewing 0 reply threads