[flexcoders] Image Loading causes Flash slowness and high cpu utilization

2006-07-31 Thread Eric Raymond
We have a Flex application which loads many copies of an image on the
fly.  In some situations the image loading seems to cause Flash to
slow down (and use more CPU).

The slowdown stays with Flash beyond the loading of the image.  We can
wait  a hour and the load is still high.  And each time this happens
the player gets a little bit slower and never improves until the
browser is restarted.  This does not appear to be a memory utilization
issue.

One hypothesis is that there is some type of background element (a
layer on the timeline) which is responsible for loading the image, and
somehow this gets hung up and doesn't get cleaned up.  Get enough of
these and the load goes up.

Does this ring a bell with anyone.  Is this a known problem?

It may be related to other events happening at the same time (e.g.,
moving the image before it is loaded, or loading a new image before
the old one is loaded).  The longer it takes to load the image (e.g.,
local web server versus remote), the more likely the problem.

This is with Flex 1.5.  This affects all versions of flash on all
platforms we have tested.








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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/
 




Re: [flexcoders] Image Loading causes Flash slowness and high cpu utilization

2006-07-31 Thread JesterXL
How are you loading it?  Got some example code?

- Original Message - 
From: Eric Raymond [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, July 31, 2006 7:02 PM
Subject: [flexcoders] Image Loading causes Flash slowness and high cpu 
utilization


We have a Flex application which loads many copies of an image on the
fly.  In some situations the image loading seems to cause Flash to
slow down (and use more CPU).

The slowdown stays with Flash beyond the loading of the image.  We can
wait  a hour and the load is still high.  And each time this happens
the player gets a little bit slower and never improves until the
browser is restarted.  This does not appear to be a memory utilization
issue.

One hypothesis is that there is some type of background element (a
layer on the timeline) which is responsible for loading the image, and
somehow this gets hung up and doesn't get cleaned up.  Get enough of
these and the load goes up.

Does this ring a bell with anyone.  Is this a known problem?

It may be related to other events happening at the same time (e.g.,
moving the image before it is loaded, or loading a new image before
the old one is loaded).  The longer it takes to load the image (e.g.,
local web server versus remote), the more likely the problem.

This is with Flex 1.5.  This affects all versions of flash on all
platforms we have tested.








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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/