Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.3.1f1
Issue ID
1100123
Regression
No
[iOS] 12.1.2 apps cannot consume as much memory as iOS 11.x apps
To reproduce:
1. Open users attached project "MemTest.zip"
2. Build for iOS
3. Deploy the Xcode project to iOS device
Expected result: 12.1.2 apps can allocate as many meshes as iOS 11.x apps
Actual result: 12.1.2 apps cannot allocate as many meshes as iOS 11.x apps
Results:
2019.2.0a1:
iPhone 8+ iOS 12.1.2
Meshes:520000
Resident memory: 1,433 MB, Used: 1,740 MB
iPhone 8+ iOS 11.0
Meshes: 540740
Resident memory: 1,128 MB, Used: 2,023 MB
_________________________________________________________________
2019.1.0a14:
iPhone 8+ iOS 12.1.2
Meshes: 517750
Resident memory: 1,404 MB, Used: 1,740 MB
iPhone 8+ iOS 11.0
Meshes: 537250
Resident memory: 1,271 MB, Used: 2,036 MB
_________________________________________________________________
2018.3.1f1:
iPhone 8+ iOS 12.1.2
Meshes: 534250
Resident memory: 1,350 MB, Used: 1,761 MB
iPhone 8+ iOS 11.0
Meshes: 559000
Resident memory: 1,103 MB, Used: 2,014 MB
_________________________________________________________________
2018.2.20f1
iPhone 8+ iOS 12.1.2
Meshes: 542250
Resident memory: 1,377 MB, Used: 1,723 MB
iPhone 8+ iOS 11.0
Meshes: 559000
Resident memory: 1,071 MB, Used: 1,975 MB
_________________________________________________________________
2017.4.19f1
iPhone 8+ iOS 12.1.2
Meshes: 559000
Resident memory: 1,394 MB, Used: 1,633 MB
iPhone 8+ iOS 11.0
Meshes: 559000
Resident memory: 1,242 MB, Used: 1,810 MB
These results are from `host_statistics`
(http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/host_statistics.html)
Notes:
with iOS 11.0 the app closes and doesn't pause on memory limit exception
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Resolution Note (2019.2.X):
This is due to iOS 12 memory accounting scheme, see
https://forum.unity.com/threads/ios-12-large-memory-usage.558550/page-4#post-4271797