Unity 内存:https://docs.unity3d.com/Manual/performance-memory-overview.html
Unity游戏开发 - 内存篇:https://zhuanlan.zhihu.com/p/533047433
GC:https://en.wikipedia.org/wiki/Tracing_garbage_collection
Unity Boehm GC:https://en.wikipedia.org/wiki/Boehm_garbage_collector
Unity增量GC:https://docs.unity3d.com/Manual/performance-incremental-garbage-collection.html
深入探索垃圾收集:https://blog.csdn.net/yuff100/article/details/137789691
Lua5.3版GC机制理解:https://blog.csdn.net/BigBrick/article/details/85317491
GS GC:http://gsdocs.g-bits.com:3000/#/Reference/Implementation/Doc_GC
CLR GC:https://learn.microsoft.com/zh-cn/dotnet/standard/garbage-collection/fundamentals
为什么要GC
-
代码创建对象等需要分配内存,对象不需要的时候,就变成内存垃圾,在有限的内存里,在不断分配内存,如果不清理掉内存垃圾,留出空间,会导致撑爆内存,程序崩溃。
<