feedhenry / fh-ios-swift-sdk

FeedHenry iOS (Swift) SDK
http://feedhenry.org
4 stars 17 forks source link

🐛 add autorelease block to reduce the peak memory consumption #56

Closed wei-lee closed 5 years ago

wei-lee commented 5 years ago

Motivation

https://issues.jboss.org/browse/RHMAP-22042

Verify

  1. Setup the sync-ios-swift app as described in the JIRA ticket and get it up and running.
  2. Update the Podfile of the project to change the FeedHenry pod to point to this branch:
    pod 'FeedHenry', :git => 'https://github.com/feedhenry/fh-ios-swift-sdk', :branch => 'RHMAP-22042-memory-peak'
  3. Run pod update to update the project dependency.
  4. Run the app and you should not see the app use as much memory as previously when creating a lot of new records.

@mmurphy mind taking a look and help verify this issue? Thanks.