Customize your memory use with Unity 2021 LTS | Unity Blog
Unity has different ways to allocate native memory, two of them are:
The bucket allocator, which groups small allocations of similar sizes into shared blocks of memory. It’s generally very fast and widely used, but it has a hard coded limit to how big it can grow.
There is also a dynamic heap allocator which is slower, but handles more cases.
Ori developers needed better performance on Switch and modification of the bucket allocator size helped them reach stutter free gameplay. At that time it wasn't accessible to everyone and required source code modification. Starting from 2021 LTS it became customizable.
https://blog.unity.com/technology/customize-your-memory-use-with-unity-2021-lts
#memory #optimization
Post #1740
102
- 👍 2