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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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