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 }
Report user-specific data | Trace Objective-C methods |
This documentation applies to the following versions of Splunk MINT™ SDK for iOS (EOL): 5.1.x
Feedback submitted, thanks!