Version: Unity 6.2 Alpha (6000.2)
Language : English
Memory in Unity introduction
Managed memory introduction

Managed memory

Unity’s managed memory system is a C# scripting environment based on the Mono or IL2CPPA Unity-developed scripting back-end which you can use as an alternative to Mono when building projects for some platforms. More info
See in Glossary
Virtual Machines (VMs). The benefit of the managed memory system is that it manages the release of memory, so you don’t need to manually request the release of memory through your code. It makes use of a garbage collector to automatically free memory allocations.

Topic Description
Managed memory introduction Automatically manage the release and allocation of memory in your application.
Garbage collector introduction Reclaim unused memory in your application.
Garbage collection modes Overview of the different ways that the garbage collector runs.
Configuring garbage collection Set up the garbage collector in your project.
Tracking garbage collection allocations Monitor when your application performed garbage collection.
Optimizing your code for managed memory Approaches for optimizing your code to work with managed memory.

Additional resources

Memory in Unity introduction
Managed memory introduction
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961