Splunk MINT SDK for iOS (Legacy)

Splunk MINT SDK for iOS Developer Guide

Acrobat logo Download manual as PDF


Splunk MINT is no longer available for purchase as of January 29, 2021. Customers who have already been paying to ingest and process MINT data in Splunk Enterprise will continue to receive support until December 31, 2021, which is End of Life for all MINT products: App, Web Service (Management Console), SDK and Add-On.
This documentation does not apply to the most recent version of Splunk MINT SDK for iOS (Legacy). For documentation on the most recent version, go to the latest release.
Acrobat logo Download topic as PDF

View memory warnings

When a mobile app receives memory warnings, the MINT SDK for iOS reports memory information for the viewcontroller class that received the warning using the following fields:

  • totalMemory
  • usedMemory
  • wiredMemory
  • activeMemory
  • inactiveMemory
  • freeMemory
  • purgableMemory


To view this information, run a search in Splunk Web for the "mint:memorywarning" sourcetype, for example:

index=mint sourcetype="mint:memorywarning" | head 5

Here's an example result:

 {
   activeMemory: 9118
   apiKey: 12345
   appEnvironment: Testing
   appRunningState: Foreground
   appVersionCode: 1
   appVersionName: 1.0
   batteryLevel: -100
   carrier: NA
   className: UINavigationController
   connection: WIFI
   currentView: GHUnitIOSViewController
   device: x86_64
   extraData: {
   }
   freeMemory: 3040
   inactiveMemory: 1511
   locale: US
   message: Received memory warning
   msFromStart: 4334
   osVersion: 9.3
   packageName: SplunkTests
   platform: iOS
   purgableMemory: 210
   remoteIP: 204.107.141.240
   screenOrientation: Portrait
   sdkVersion: 5.0.0
   session_id: 1C048628-A709-44BC-9110-25069C7FC736
   state: CONNECTED
   totalMemory: 16384
   transactions: { [+]
   }
   usedMemory: 454
   userIdentifier: NA
   uuid: fake_uid
   wiredMemory: 2112
} 
Last modified on 08 June, 2016
PREVIOUS
Report user-specific data
  NEXT
Trace Objective-C methods

This documentation applies to the following versions of Splunk MINT SDK for iOS (Legacy): 5.1.x


Was this documentation topic helpful?


You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters