Skip to content

AS3 – Memory Usage

var mem:String = Number( System.totalMemory / 1024 / 1024 ).toFixed( 2 ) + 'Mb';
trace( mem ); // eg traces "24.94Mb"

source

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*