Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11624

Memory leak on iOS 9.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • None
    • None
    • Cordova 6.1.1, iPhone 6, iPhone 6 (Simulator), iOS 9.3, Xcode 7.3.1

    Description

      Repeatedly calling `navigator.contacts.find` will leak memory up until the point the app is killed by the operating system. Instrumenting the call with Xcode will yield anywhere between 750 and 1000 new leaks every time it is called. The responsible frames are mostly `ABCMultiValueInsertAndCreateIdentifier`, and `ABCMultiValueCreate`. The responsible library is always `AddressBook`. This issue exists in version 2.1.0, but 2.0.1 is also affected. https://github.com/apache/cordova-plugin-contacts/pull/35/commits/d28ba9013cae21abc6826a1d6dbd06d841874c1d fixes it, but I believe it was never merged.

      Attachments

        Activity

          People

            Unassigned Unassigned
            laurensb Laurens Boekhorst
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: