Unfortunately I haven’t had the opportunity to do any profiling yet. I tried it a couple of weeks ago, couldn’t get it to work and I had to get back to developing the application. I will set aside some time to do this though. To the other suggestion, I haven’t experimented with the loader component to break up the app. Good Idea and I will explore this option though. One concern I have about this is: If I break these components down, can I still communicate easily between them and can I stop people from accessing those new apps directly? I have some needs to do this. Plus, I would like some of them to keep state. My first option seems to be some profiling though. I will try to get this working as soon as possible. Thanks for the response!
From: Matt Chotin
[mailto:[EMAIL PROTECTED]
Can you break the large app into smaller apps that are loaded with Loader?
Have you used the profiler to see if there’s a method that’s being called maybe too often and creating objects that are never let go? The profiler won’t give you memory information, but you could see if something is happening more than expectedat least.
Matt
From: Mercer, Dustin [mailto:[EMAIL PROTECTED]
I have a very large flex app I am running into some random crashes and heavy memory consumption. Memory consumption on Standard Flash Player (not Flash Debug Player) has been reaching 150 to 170 megs. I need to know what I can do to manage this. I have seen some methods available to the UIObject, mainly destroyObject, and I got this to remove objects that were no longer needed, but I cannot find a good way to re-instantiate them when they are needed again. This could be a really bad approach, but I am afraid I may be pushing some limits on Flex that is forcing me down this route. I am open to any suggestions. If any more information is needed, I would be happy to provide. Thanks in advance! Dustin Mercer
|
Title: Flex memory issues.
- RE: [flexcoders] Flex memory issues. Mercer, Dustin
- RE: [flexcoders] Flex memory issues. Mercer, Dustin