Get total memory used by my SWF

Hi -

Is there any way to dynamically get the total memory used by my .SWF as movieclips are loaded, removed, animations happen, etc? Thanks