I'm sure you realize that having an app reload unexpectedly could annoy users.  
A well-designed app should never run out of memory.  Have you tried using the 
profiler to control memory usage?  This post can help you get better results 
from the profiler and explains how to measure memory: 
http://blogs.adobe.com/aharui/2008/09/using_the_flex_builder_3x_prof.html

If your app is trying to save some state across the reload, I would look for 
issues there first, but I would also test a simple "hello world" app to see if 
you see memory increases during a reload of that app.  Also try minimizing the 
browser and restoring it.  It maybe the browser itself isn't cleaning up.

-Alex

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kkkenio
Sent: Friday, October 31, 2008 9:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] reload app by refreshing browser increased memory usage


Hi all:

everytime user fresh browser to reload our app, the FlashPlayer used
memory will increase around 20MB.

is that how the flash player works, or is this a bug of our app?

What we want to do is reducing the memory usage by reloading the app
when the app detect that it has touched a predefined max memory.

pls share some light, not sure how to figure out this problem.

Reply via email to