what is an acceptable amount of memory usage for Flash player 10?

I am struggling with an application showing memory leaks, and using the Flex Builder 3 profiler to check memory. Can anybody give me a general answer to the above question, for a new PC running 2 gigs of RAM and a good video card (256 M of RAM)?

Thanks

Devin
devinvailAsked:
Who is Participating?
 
blue-genieConnect With a Mentor Commented:
I agree theres no standard answer to your question.
If you have an application that loads something and then sits and waits for a user interaction, i.e. a button click, but it runs at a high memory usage,I'd say yes you have a problem. If you're doing alot of server interactions, loops and intervals and timers etc, you'd have a high usage which would be expected.

if you just follow best practise and try to help the GC along by removing all references to non-required items explicitly you should be fine.

0
 
TanLiHaoCommented:
Actually it really depends from system to system as well as from content to content. Don't worry, as long as the Flash Player do not crash, the memory Flash uses is acceptable. If the memory used gets too high, Flash Player will crash itself.
0
 
72lionsConnect With a Mentor Commented:
Well I've build a papervision 3d web app with AS3 and it didn't exceed 50MB of memory. The website runs smoothly and I believe that a 50MB of memory is a good number.

Now, depending on what you are building there will be memory outburst, but always be sure to remove all references and listeners of objects that you don't use so that the Garbage collector can remove them.

You can also check the following articles:

http://www.kirupa.com/forum/showthread.php?t=262507
http://actionscript-blog.imaginationdev.com/12/memory-optimization-flash-action-script-3/
http://stackoverflow.com/questions/1255286/detecting-memory-leaks-in-actionscript-3-project
http://blog.pixelbreaker.com/flash/as30-memory-monitoring
0
 
devinvailAuthor Commented:
Thank you for the references 72lions!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.