Re: [Flashcoders] Memory leak in Flash projector

2006-03-16 Thread Steve Mathews
http://www.iarsn.com/taskinfo.html

On 3/15/06, Darren Cook [EMAIL PROTECTED] wrote:
  There was also a utility that someone on the team found that would
  force it to release the memory. But it was Windows only, and we had to
  support Mac so we ended up taking it out.

 Do you have a link or a name for that utility (I only need to support
 windows in the current project so that may do the trick)?

 Thanks,
 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

___
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] Memory leak in Flash projector

2006-03-15 Thread Mike Mountain
I know there's an issue with using bitmapdata - 

http://www.gskinner.com/blog/archives/2005/10/major_flash_pla.html

Does that help anyone?

M

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of André Goliath
 Sent: 14 March 2006 23:01
 To: 'Flashcoders mailing list'
 Subject: RE: [Flashcoders] Memory leak in Flash projector
 
 I had similar issues and solved it by minimizing/restoring 
 the App via a third party wrapper (SWF Studio in my case) in 
 an Interval. 
 It seems that by doing that the Garbage Collector is forced 
 to run, it´s the same for Win.shide/show.
 
 However I was not able to find the memory leak in my code 
 yet, it is quite complex with bunch of AS2 classes involved, 
 but I *think* I deleted evere reference after use, but maybe 
 I´m wrong with that,...
 
 hth
 
 André
 
___
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] Memory leak in Flash projector

2006-03-15 Thread Steve Mathews
This is the same thing that I discovered on a project last year. We
even discussed the issue with Macromedia and they basically told us
that the player was not intended to run for long periods of time.

The minimize, restore does seem to work though. It seems to allow the
GC to actually release the unneeded memory back to Windows.

There was also a utility that someone on the team found that would
force it to release the memory. But it was Windows only, and we had to
support Mac so we ended up taking it out.

On 3/14/06, André Goliath [EMAIL PROTECTED] wrote:
 I had similar issues and solved it by minimizing/restoring the App via a
 third party wrapper (SWF Studio in my case) in an Interval.
 It seems that by doing that the Garbage Collector is forced to run, it´s the
 same for Win.shide/show.

 However I was not able to find the memory leak in my code yet, it is quite
 complex with bunch of AS2 classes involved, but I *think* I deleted evere
 reference after use, but maybe I´m wrong with that,...

 hth

 André


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Darren Cook
 Sent: Tuesday, March 14, 2006 2:42 AM
 To: Flashcoders mailing list
 Subject: Re: [Flashcoders] Memory leak in Flash projector

 On Feb 25th 2006 Andreas Rønning wrote:
  This is very serious. The majority of my work is kiosk apps.
  Any more details on this, official Macromedia stance on it? Future fixes?

 Does anyone have more information on this? For instance what kind of
 features or media types or actionscript are causing the leak?

 We have a flash 8 application that has to be able to run for months
 without rebooting, but was leaking memory at 31Mb/hour! I realized I
 still had a textarea logger running but having removed that it is still
 leaking at 5MB/hour.

 We've tried running it as Flash 7, and also tried disabling all flv
 movies, but it still seems to leak at the same rate. Does that sound
 like something wrong we're doing in the actionscript (e.g. somehow
 holding on to references so stopping the garbage collector freeing the
 memory?) or like a player bug?

 Is there a way to force the garbage collector to run? (our application
 often has the CPU near 100% - I wondered if garbage collection only
 happens when the CPU is quiet?)

 Has anyone seen the memory leak go away when switching to zinc or a
 similar projector?

 Any advice would be very welcome,

 Darren


  Marcelo Volmaro wrote:
  Well, unless you used a lot of the new FX, i recommend you going back
  to the v7 player. The v8 has a lot of errors/memory leaks, mostly of
  them related to the new bitmap engine.
 
  I recently had to change a lot of code that takes advantage of the new
  system to the old one, because a lot of things breaks badly.
 
  On Fri, 24 Feb 2006 15:32:51 -0300, Joe Cutting [EMAIL PROTECTED]
  wrote:
 
  Hello,
 I think I've found a memory leak in the Flash player on the PC.
  I made a fairly simple animation (no actionscript) and built a
  projector and when I run
  it in a loop the amount of memory needed continues to rise. (as
  measured using Task Manager).
 
  I'm using Flash Player version 8,0,22,0 on Windows XP professional.
 
  Has anyone else experienced this, or even better found a cure?
 
  If there is no cure then this is pretty serious for anyone using
  flash in a kiosk type situation.
 ___
 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@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@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] Memory leak in Flash projector

2006-03-15 Thread Darren Cook
 There was also a utility that someone on the team found that would
 force it to release the memory. But it was Windows only, and we had to
 support Mac so we ended up taking it out.

Do you have a link or a name for that utility (I only need to support
windows in the current project so that may do the trick)?

Thanks,
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] Memory leak in Flash projector

2006-03-14 Thread Darren Cook
On Feb 25th 2006 Andreas Rønning wrote:
 This is very serious. The majority of my work is kiosk apps.
 Any more details on this, official Macromedia stance on it? Future fixes?

Does anyone have more information on this? For instance what kind of
features or media types or actionscript are causing the leak?

We have a flash 8 application that has to be able to run for months
without rebooting, but was leaking memory at 31Mb/hour! I realized I
still had a textarea logger running but having removed that it is still
leaking at 5MB/hour.

We've tried running it as Flash 7, and also tried disabling all flv
movies, but it still seems to leak at the same rate. Does that sound
like something wrong we're doing in the actionscript (e.g. somehow
holding on to references so stopping the garbage collector freeing the
memory?) or like a player bug?

Is there a way to force the garbage collector to run? (our application
often has the CPU near 100% - I wondered if garbage collection only
happens when the CPU is quiet?)

Has anyone seen the memory leak go away when switching to zinc or a
similar projector?

Any advice would be very welcome,

Darren


 Marcelo Volmaro wrote:
 Well, unless you used a lot of the new FX, i recommend you going back
 to the v7 player. The v8 has a lot of errors/memory leaks, mostly of
 them related to the new bitmap engine.

 I recently had to change a lot of code that takes advantage of the new
 system to the old one, because a lot of things breaks badly.

 On Fri, 24 Feb 2006 15:32:51 -0300, Joe Cutting [EMAIL PROTECTED]
 wrote:

 Hello,
I think I've found a memory leak in the Flash player on the PC.
 I made a fairly simple animation (no actionscript) and built a
 projector and when I run
 it in a loop the amount of memory needed continues to rise. (as
 measured using Task Manager).

 I'm using Flash Player version 8,0,22,0 on Windows XP professional.

 Has anyone else experienced this, or even better found a cure?

 If there is no cure then this is pretty serious for anyone using
 flash in a kiosk type situation.
___
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] Memory leak in Flash projector

2006-03-14 Thread Scott Fegette
FYI, I can't speak specifically to either root cause or eventual effect/fix,
but this entire thread has been routed to the Player team for triage and
consideration (as will any subsequent suggestions/comments that follow
fhere).  Thanks for bringing it to our attention!

-Scott

scott fegette
adobe systems

On 3/13/06, Darren Cook [EMAIL PROTECTED] wrote:

 On Feb 25th 2006 Andreas Rønning wrote:
  This is very serious. The majority of my work is kiosk apps.
  Any more details on this, official Macromedia stance on it? Future
 fixes?

 Does anyone have more information on this? For instance what kind of
 features or media types or actionscript are causing the leak?

 We have a flash 8 application that has to be able to run for months
 without rebooting, but was leaking memory at 31Mb/hour! I realized I
 still had a textarea logger running but having removed that it is still
 leaking at 5MB/hour.

 We've tried running it as Flash 7, and also tried disabling all flv
 movies, but it still seems to leak at the same rate. Does that sound
 like something wrong we're doing in the actionscript (e.g. somehow
 holding on to references so stopping the garbage collector freeing the
 memory?) or like a player bug?

 Is there a way to force the garbage collector to run? (our application
 often has the CPU near 100% - I wondered if garbage collection only
 happens when the CPU is quiet?)

 Has anyone seen the memory leak go away when switching to zinc or a
 similar projector?

 Any advice would be very welcome,

 Darren


  Marcelo Volmaro wrote:
  Well, unless you used a lot of the new FX, i recommend you going back
  to the v7 player. The v8 has a lot of errors/memory leaks, mostly of
  them related to the new bitmap engine.
 
  I recently had to change a lot of code that takes advantage of the new
  system to the old one, because a lot of things breaks badly.
 
  On Fri, 24 Feb 2006 15:32:51 -0300, Joe Cutting [EMAIL PROTECTED]
  wrote:
 
  Hello,
 I think I've found a memory leak in the Flash player on the PC.
  I made a fairly simple animation (no actionscript) and built a
  projector and when I run
  it in a loop the amount of memory needed continues to rise. (as
  measured using Task Manager).
 
  I'm using Flash Player version 8,0,22,0 on Windows XP professional.
 
  Has anyone else experienced this, or even better found a cure?
 
  If there is no cure then this is pretty serious for anyone using
  flash in a kiosk type situation.
 ___
 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




--


- Scott
  Macromedia, Inc.
[EMAIL PROTECTED]
___
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] Memory leak in Flash projector

2006-03-14 Thread André Goliath
I had similar issues and solved it by minimizing/restoring the App via a
third party wrapper (SWF Studio in my case) in an Interval. 
It seems that by doing that the Garbage Collector is forced to run, it´s the
same for Win.shide/show.

However I was not able to find the memory leak in my code yet, it is quite
complex with bunch of AS2 classes involved, but I *think* I deleted evere
reference after use, but maybe I´m wrong with that,...

hth

André


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Darren Cook
Sent: Tuesday, March 14, 2006 2:42 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Memory leak in Flash projector

On Feb 25th 2006 Andreas Rønning wrote:
 This is very serious. The majority of my work is kiosk apps.
 Any more details on this, official Macromedia stance on it? Future fixes?

Does anyone have more information on this? For instance what kind of
features or media types or actionscript are causing the leak?

We have a flash 8 application that has to be able to run for months
without rebooting, but was leaking memory at 31Mb/hour! I realized I
still had a textarea logger running but having removed that it is still
leaking at 5MB/hour.

We've tried running it as Flash 7, and also tried disabling all flv
movies, but it still seems to leak at the same rate. Does that sound
like something wrong we're doing in the actionscript (e.g. somehow
holding on to references so stopping the garbage collector freeing the
memory?) or like a player bug?

Is there a way to force the garbage collector to run? (our application
often has the CPU near 100% - I wondered if garbage collection only
happens when the CPU is quiet?)

Has anyone seen the memory leak go away when switching to zinc or a
similar projector?

Any advice would be very welcome,

Darren


 Marcelo Volmaro wrote:
 Well, unless you used a lot of the new FX, i recommend you going back
 to the v7 player. The v8 has a lot of errors/memory leaks, mostly of
 them related to the new bitmap engine.

 I recently had to change a lot of code that takes advantage of the new
 system to the old one, because a lot of things breaks badly.

 On Fri, 24 Feb 2006 15:32:51 -0300, Joe Cutting [EMAIL PROTECTED]
 wrote:

 Hello,
I think I've found a memory leak in the Flash player on the PC.
 I made a fairly simple animation (no actionscript) and built a
 projector and when I run
 it in a loop the amount of memory needed continues to rise. (as
 measured using Task Manager).

 I'm using Flash Player version 8,0,22,0 on Windows XP professional.

 Has anyone else experienced this, or even better found a cure?

 If there is no cure then this is pretty serious for anyone using
 flash in a kiosk type situation.
___
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@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] Memory leak in Flash projector

2006-02-24 Thread Marcelo Volmaro
Well, unless you used a lot of the new FX, i recommend you going back to  
the v7 player. The v8 has a lot of errors/memory leaks, mostly of them  
related to the new bitmap engine.


I recently had to change a lot of code that takes advantage of the new  
system to the old one, because a lot of things breaks badly.


On Fri, 24 Feb 2006 15:32:51 -0300, Joe Cutting [EMAIL PROTECTED] wrote:


Hello,
   I think I've found a memory leak in the Flash player on the PC.
I made a fairly simple animation (no actionscript) and built a projector  
and when I run
it in a loop the amount of memory needed continues to rise. (as measured  
using Task Manager).


I'm using Flash Player version 8,0,22,0 on Windows XP professional.

Has anyone else experienced this, or even better found a cure?

If there is no cure then this is pretty serious for anyone using flash  
in a kiosk type situation.


Cheers

Joe

___
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




--
_
Marcelo Volmaro
___
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] Memory leak in Flash projector

2006-02-24 Thread Andreas Rønning

This is very serious. The majority of my work is kiosk apps.
Any more details on this, official Macromedia stance on it? Future fixes?

- Andreas

Marcelo Volmaro wrote:
Well, unless you used a lot of the new FX, i recommend you going back 
to the v7 player. The v8 has a lot of errors/memory leaks, mostly of 
them related to the new bitmap engine.


I recently had to change a lot of code that takes advantage of the new 
system to the old one, because a lot of things breaks badly.


On Fri, 24 Feb 2006 15:32:51 -0300, Joe Cutting [EMAIL PROTECTED] 
wrote:



Hello,
   I think I've found a memory leak in the Flash player on the PC.
I made a fairly simple animation (no actionscript) and built a 
projector and when I run
it in a loop the amount of memory needed continues to rise. (as 
measured using Task Manager).


I'm using Flash Player version 8,0,22,0 on Windows XP professional.

Has anyone else experienced this, or even better found a cure?

If there is no cure then this is pretty serious for anyone using 
flash in a kiosk type situation.


Cheers

Joe

___
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




--_
Marcelo Volmaro
___
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@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] Memory leak in Flash projector

2006-02-24 Thread Marcelo Volmaro
Well, just today i filled 3 bugs reports on memory leaks and things that  
don´t get drawn correctly, all with test cases.
v8 also has problems with the new ExternalInterface under IE, if the  
object tag is inside a form.


Hope someone at Adobe fix all of this...

On Fri, 24 Feb 2006 16:19:03 -0300, Andreas Rønning  
[EMAIL PROTECTED] wrote:



This is very serious. The majority of my work is kiosk apps.
Any more details on this, official Macromedia stance on it? Future fixes?

- Andreas

Marcelo Volmaro wrote:
Well, unless you used a lot of the new FX, i recommend you going back  
to the v7 player. The v8 has a lot of errors/memory leaks, mostly of  
them related to the new bitmap engine.


I recently had to change a lot of code that takes advantage of the new  
system to the old one, because a lot of things breaks badly.


On Fri, 24 Feb 2006 15:32:51 -0300, Joe Cutting [EMAIL PROTECTED]  
wrote:



Hello,
   I think I've found a memory leak in the Flash player on the PC.
I made a fairly simple animation (no actionscript) and built a  
projector and when I run
it in a loop the amount of memory needed continues to rise. (as  
measured using Task Manager).


I'm using Flash Player version 8,0,22,0 on Windows XP professional.

Has anyone else experienced this, or even better found a cure?

If there is no cure then this is pretty serious for anyone using flash  
in a kiosk type situation.


Cheers

Joe

___
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




--_
Marcelo Volmaro
___
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@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




--
_
Marcelo Volmaro
___
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