Question by
Droidhen · Jan 30, 2018 at 03:48 AM ·
garbage-collection
Hi guys, I need to catch the GC event, Could you tell me how to do it specifically? thx a lot.
I'm newer about the Memory management and GC. Now, I want to take a memory snapshot when GC happens , and I'v learn how to take a memory snapshot by using a Unity Editor script, but how to get the GC event is a big problem for me. I've learn that unity use the GC.collect() to GC, and most GC is operating automatically, I would really appreciate it if you could help me how to solve this problem explicitly.
Comment