AllocationStats

AllocationStats is a simple helper utility for showing how much memory your application has allocated. It uses GC.GetTotalMemory to keep track of the memory usage.

Usage
Add the AllocMem script to any gameObject in your scene. When you press play, a small window will show containing the following info.  Currently allocated  Shows the total memory allocated according to the GC. Peak allocated  Shows the max memory allocated during the application run with the amount of memory which was allocated when GC was called last time inside parentheses. Allocation rate  Shows how fast the application is allocating memory in mb per eh, 0.3 seconds. I should fix that sometime. Collection frequency  Shows how far apart the GC collections are spaced in seconds. Last collect delta  Shows how high the framerate was when GC was last called, GC calls usually make the framerate drop. 