Any ideas/tricks on how to reduce the memory footprint of my NSFileProviderExtension more than I already have?
I have done the following:
1. Got rid of JSON.net
2. Got rid of System.Http.Net
3. Run file provider in Release mode (only build ARM64)
The file provider starts out with a footprint of about 11.5 MB on iPhone6 and 13.5 on iPad Pro (appex size is 2.3MB). Of course, when it hits 15 MB, BOOM!
For comparison, a file provider I built with XCode starts out with a memory footprint of about 3.4MB.
I can run for a while on my iPhone 6 but running on any iPad Pro quits upon first navigation.
I have a Pro account so I don't have access to the Xamarin Profiler.
Unfortunately, for iOS11 I needed to add Mono.Data.Sqlite. I hadn't seen this problem before adding sqlite. See references below:
Here are my iOS build settings: