TBOOMDetector

Detect Out Of Memory events in an iOS app

Showing:

Popularity

Downloads/wk

0

GitHub Stars

43

Maintenance

Last Commit

1yr ago

Contributors

7

Package

Dependencies

0

License

MIT

Categories

Readme

TBOOMDetector

Detect Out Of Memory events in an iOS app by process of elimination. If we can't figure out why the app is relaunching, it must have been the OOM Killer. For a complete explanation read this excellent blog post from Facebook.

Requires crashlytics for detecting crashes.

Example:

TBOOMDetector *oomDetector = [[TBOOMDetector alloc] initWithDirectory:directory
   crashCheck:^BOOL{
       // return [[Crashlytics crashlytics] didCrashDuringPreviousExecution]
       return NO;
     }
   callback:^(TBTerminationType terminationType) {
      if(terminationType == TBTerminationTypeBackgroundOom) {
        DDLogError(@"Detected Background OOM");
      } else if(terminationType == TBTerminationTypeForegroundOom) {
        DDLogError(@"Detected Foreground OOM");
      }
}];

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial