You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using APAddressBook to load native contacts to search against. However, for some of our users who have > 10k native contacts, the app seems to be consuming too much memory, causing an unexpected JetSam event and terminating the app.
Looking at the method where contacts are being extracted:
Would it be better if we call this method using an autorelease pool and batching up contacts? Is there a better way to handle the large volume of contacts with APAddressBook?
The text was updated successfully, but these errors were encountered:
Thank you for issue and sorry for delay.
Unfortunately there is no another way to handle contacts except loadContacts method.
But if you know proper solution or something that can help avoid memory warnings (like placing objects in autorelease pool) I'll add it to source code and release it
We're using
APAddressBook
to load native contacts to search against. However, for some of our users who have > 10k native contacts, the app seems to be consuming too much memory, causing an unexpected JetSam event and terminating the app.Looking at the method where contacts are being extracted:
Would it be better if we call this method using an
autorelease pool
and batching up contacts? Is there a better way to handle the large volume of contacts withAPAddressBook
?The text was updated successfully, but these errors were encountered: