A couple more things... turn on production mode in the flex-config.xml
file. 
 
Also, try using the profiler app to identify bottlenecks in your
actionscript code:
http://livedocs.macromedia.com/flex/15/flex_docs_en/00000828.htm
 
hth,
matt horn


________________________________

        From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of alex_harui
        Sent: Friday, June 10, 2005 10:58 PM
        To: flexcoders@yahoogroups.com
        Subject: [flexcoders] Re: Memory Useage with Flex
        
        
        Start commenting out portions of the app and see if you find a 
        subsection that is sucking up the memory.
        
        Make sure you've optimized the number of layout containers used.

        Should you be using a Grid instead of a network of VBox/HBox?
        
        Are you using Repeaters?  They can be memory hungry.  Consider
Lists 
        with custom cell renderers instead.
        
        Is your app resizable?  If not, and you're really desperate,
take out 
        the layout containers and use a single Canvas and your own
layout logic.
        
        There's no single process to go through, but if you can figure
out what 
        is the most memory hungry someone will have an idea for you
        
        --- In flexcoders@yahoogroups.com, "Joel Parish"
<[EMAIL PROTECTED]> 
        wrote:
        > Hello all :)
        > Is there any way to optimize flex to use less memory? At the
momment
        > flex is quite a resource hog and uses about 400mB. Any and all
help is
        > appriceiated.
        > 
        > Thanks,
        > Joel
        
        
        
        
________________________________

        Yahoo! Groups Links
        

        *       To visit your group on the web, go to:
                http://groups.yahoo.com/group/flexcoders/
                  
        *       To unsubscribe from this group, send an email to:
                [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> 
                  
        *       Your use of Yahoo! Groups is subject to the Yahoo! Terms
of Service <http://docs.yahoo.com/info/terms/> . 

        
        



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to