I’ve made a financial chart w/ Flash MX 2004 in which I load about 5.000 values of price indexes and 5.000 values of time stamps every 5 seconds.
I use a couple of Arrays to analyse these values and finally I draw the chart.
BUT, cpu usage is really high when I run the site in which the swf is embedded.
I’ve tried from 4 different computers (3.0 GHz, 1GB RAM, etc.) and still the same.
I know that it must be the cpu trying to write all the values in RAM and never deletes any.
How can I clear RAM each time my code finishes/starts?
Is there a “clear buffer” way I can do that?
I’ve delimited the values to avoid the problem for now, but I would appreciate if someone can suggest something else.
Thank you.