coderex
coderex

Reputation: 27855

How to check the performance & memory usage of the flash application at run time?

I have a flash application which consist of Grid Components, Button, Label, and Combo-box Components. All these components are used more than 70 times(simultaneously) with in the application. So Its takes too much of memory. So How can I test the memory usage of each component at the time of running. Is there any plug-in available for browsers to find the memory usage.

I'm using flash CS3 and ActionScript 3.0. The application suppose to run in browsers.

Upvotes: 1

Views: 4223

Answers (4)

Mykola Vasilaki
Mykola Vasilaki

Reputation: 435

Check this info: http://www.flashandmath.com/howtos/memory/

Memory consumption:

import flash.system.System;
function performMemTest(e:Event):void {
    trace(System.totalMemory);
}

About Frame Rate you can check by link.

Upvotes: 0

Max Dohme
Max Dohme

Reputation: 700

For a simple performance stats display, check out Mr. Doob's Stats class.

For a more in-depth look into your application's performance, there is FlashPreloadProfiler.

Upvotes: 0

Vlad Grigorov
Vlad Grigorov

Reputation: 11378

I think MonsterDebugger will help you. Besides memory and FPS monitor, it has lots of other useful features.

You can also try FlashPreloadProfiler to monitor memory and DisplayObjects lifecycle.

Upvotes: 3

Gunslinger47
Gunslinger47

Reputation: 7061

If you're using Abobe Flash Builder, you can use its built in profiler.

Upvotes: 1

Related Questions