iOS App: Terminated due to memory issue [Related to swiftSlowAlloc or UIImage]
These are some possible causes that may cause a memory leak in your program even if using ARC:
- You set a strong reference to a parent in a child object. This causes a retain cycle.
- You set a strong reference to a delegate in an interface.
- You forgot to release an object when you do a toll-free bridging after transferring ownership.
- You forgot to set a weak reference to objects you passed in a block.