Search Issue Tracker
Won't Fix
Votes
2
Found in
5.3.3f1
Issue ID
778202
Regression
No
Garbage Collection fails to free up necessary memory
How to reproduce:
1. Open attached project
2. Build to iOS and run
3. In Xcode, switch to the Memory profiler window
4. On the device, tap the on-screen button quite rapidly (4+ taps per second)
- Note how the memory usage eventually goes above 200mb, and sometimes reaches a state when it simply crashes due to a memory error
- The memory usage does not always go above 200mb and if it does, it does not always reach a crashing state
- Make sure to have some ritual candles and a small animal to sacrifice, just in case the tapping finger gets tired
- Reproduced in Version 5.4.0b9 (04b47bfe5580), Version 5.3.3p3 (1c43f6d3d3c3) on an iPhone5 (iOS 7.1)
- Not reproducible with an iPad Mini 4 (iOS 9.1)
- Project does not work properly with Version 5.2.4f1 (98095704e6fe)
- Won't Fix: In this case it might be better to try allocating that memory in native code in a plugin. Although that will be more complex than allocating it in managed code, it will give one complete control over the lifetime of the memory. For large chunks of memory like this, more tightly controlled allocation is sometimes a good alternative.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment