Object OOMInsights

  • All Implemented Interfaces:

    
    public class OOMInsights
    
                        

    Handles OutOfMemoryError (OOM) insights and statistics. This class is responsible for tracking insights related to thread and memory stats which can help in OOM analysis. Collects the following insights:

    • crashInterval of any OOM crashType defines the interval(SdkInitialized -> App Crash by CrashType) of last occurrence of this crashType

    • tracks OOM count for InMobi and App separately

    • tracks the ratio of InMobi OOM to App OOM

    • tracks the number of blocking GC and total GC

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static OOMInsights INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit appendOOMPayload(JSONObject payload, Boolean isOutOfMemoryError, Boolean isSdkCrash, Long ts)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait