JRFMemoryNoodler
JRFMemoryNoodler copied to clipboard
A utility to detect when iOS has killed your app due to memory pressure, inspired by https://code.facebook.com/posts/1146930688654547/reducing-fooms-in-the-facebook-ios-app/
Would love this to be implemented via Cocoapods. I don't support Carthage and don't like adding outside source to mine to avoid having to write test coverage for it. ;)...
Hi Jack! Is it really needed to listen to `signal(SIGABRT)` and `signal(SIGQUIT)` [here](https://github.com/jflinter/JRFMemoryNoodler/blob/master/JRFMemoryNoodler/JRFMemoryNoodler.m#L29)? Isn't it sufficient to listen to `applicationWillTerminate` [here](https://github.com/jflinter/JRFMemoryNoodler/blob/master/JRFMemoryNoodler/JRFMemoryNoodler.m#L83) to know when the user has closed the app...
Summary: OOM tracking is based off of the blog post from Facebook https://code.fb.com/ios/reducing-fooms-in-the-facebook-ios-app/ This requires a process-of-elimination to determine if a launch is due to an OOM crash by marking...