Re: [Flashcoders] Flash 9 ready for kiosk use?

2006-08-11 Thread Darren Cook
> he was able to publish as 7, so he's having some other issue and I'm
> willing to bank that he is experiencing memory waste (a leak is
> different) ...

No: the flash player is able to correctly delete the memory when I
minimize then maximize the window. If I was still somehow holding on to
a pointer to the memory (which was my original thought too) it would not
be able to do that.

Or in other words, whatever additional clean-up it does when I minimize
the window it should be doing when running normally, every 10 seconds or
something. It doesn't, even after running for hours. Therefore I
describe it as a bug.

It sounds like Flash 9 may have fixed that bug; hopefully my client will
request a Flash 9 version and I can find out for sure.

Darren
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash 9 ready for kiosk use?

2006-08-11 Thread Steven Sacks | BLITZ
Ok, so it's very specific to BitmapData objects, and even in Grant's
example, it's because he's using a temporary variable which isn't
getting cleaned up, and he has the solution (which IS the solution) to
hold on to the reference to dispose of it later.

The person who posted on the second link isn't using bitmap data because
he was able to publish as 7, so he's having some other issue and I'm
willing to bank that he is experiencing memory waste (a leak is
different) because of orphaned objects and functions due to scope chain
ignorance.  Fear not, because education awaits those who seek it out!
:)

http://timotheegroleau.com/Flash/articles/scope_chain.htm

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash 9 ready for kiosk use?

2006-08-10 Thread Darren Cook
> I've just downloaded the Adobe Flash 9 Public alpha and used it to compile 
> one of my old kiosk
> projects. As far as I can see it has none of memory leak issues which 
> affected Flash 8 and stopped
> it being suitable for kiosks. This is great

This is very interesting. Is it just a matter of loading a Flash 8 fla,
and making a Flash 9 swf? Or would we need to convert from AS2 to AS3, etc.?

> I have no idea what memory leak issues you're talking about with the
> Flash player.  ...

There is one described here:
  http://www.gskinner.com/blog/archives/2005/10/major_flash_pla.html

And the one I've had problems with described in the thread here:
http://chattyfig.figleaf.com/pipermail/flashcoders/2006-March/161859.html

Beyond what is written there I convinced myself it is a player bug
simply because it will correctly free up all memory if you minimize then
maximize the player window.

Without doing the minimize/maximize trick it seems like it does not do
certain types of garbage collection (but it does garbage collect
something, as I see the memory usage wobbling up and down).

Darren


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re[2]: [Flashcoders] Flash 9 ready for kiosk use?

2006-08-02 Thread Jens Halm

> I have no idea what memory leak issues you're talking about with the
> Flash player.  I've created a few applications that were designed to run
> for days and even weeks at a time without a restart and I was able to
> eliminate all memory leak and memory waste issues with Flash 6, 7 and 8
> with careful coding and research to understand about how Flash memory is
> managed.

How did you manage memory leaks in FLV playback? If you do not pool
and reuse NetStream instances the leak is really huge. With pooling
the problem is minimized but still there. We ran tests with Flash 8
and could easily reproduce the problem. It was an empty movie with
just a loop starting the same video all over again, so we ruled out
possible side effects. Don't know how you would solve that with
"careful coding"?


Jens


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash 9 ready for kiosk use?

2006-08-01 Thread Steven Sacks | BLITZ
I have no idea what memory leak issues you're talking about with the
Flash player.  I've created a few applications that were designed to run
for days and even weeks at a time without a restart and I was able to
eliminate all memory leak and memory waste issues with Flash 6, 7 and 8
with careful coding and research to understand about how Flash memory is
managed.

"It's a poor craftsman who blames his tools."  - Ancient proverb


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Flash 9 ready for kiosk use?

2006-08-01 Thread Joe Cutting
I've just downloaded the Adobe Flash 9 Public alpha and used it to 
compile one of my old kiosk
projects. As far as I can see it has none of memory leak issues which 
affected Flash 8 and stopped

it being suitable for kiosks. This is great.

Has anyone else found any memory leak issues with the Flash 9 player?
This is really important for me because I'm about to start a large 
kiosk project and any memory leak issues would

be a show stopper.
 This project is going to be delivered in the next few months but 
its going to be around for a while and
I can see that the code is going be regularly updated. Does anyone 
have any thoughts on whether I should use AS3 or AS2.
The project doesn't actually need any of the new features of AS3 but 
given that that's the way things are going should I make the jump now?
Or given that the Flash 9 IDE is only still alpha should I avoid it 
for commercial work?


Any thoughts or help would be appreciated

Cheers

Joe



Joe Cutting
Computer exhibits and installations
www.joecutting.com
96 Heslington Road, York, YO10 5BL
01904 627428
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com