Version: Unity 6.1 Alpha (6000.1)
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