SAP Knowledge Base Article - Preview

2000616 - Sybase Unwired Platform SDK for iOS applications - Memory Leaks when profiling iOS app

Symptom

We had a few performance issues with our iOS app, in particular with regards to memory. I have profiled the iOS application in Instruments and which did indicated memory leaks during the synchronization. See screenshots of Instruments.

The leaking objects appeared to be instances of SUPAttributeMetaDataRBS that occur during the creation of sub-class instances. The sub-classes are created in our generated code.

My understanding is that the generated code is non-ARC, so are the libraries used by the generated code also non-ARC, and can I assume that the memory management is being carried out appropriately within the libraries?

Is there anything I can do to ensure these leaks do not occur?


Read more...

Environment

  • SAP Mobile Platform 2.x
  • Sybase Unwired Platform 2.x
  • iOS app

Product

SAP Mobile Platform 2.3 ; SAP Mobile Platform SDK 2.2 ; SAP Mobile Platform SDK 2.3 ; Sybase Unwired Platform 2.1 ; Sybase Unwired Platform 2.2

Keywords

autoreleasepool, memory management, instruments, leaks, memoryleak, leak , KBA , MOB-SUP-SDK-OAP , Mobile SDK Object API , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.