[flexcoders] garbage collection question

2010-07-29 Thread djbrown_rotonews
I'm trying to track down a memory leak in one of my applications, having already employed the use weak reference in dictionaries and eventListeners guideline. I have an wrapper object, that has (among other properties) a reference to another object, which contains an array of a third object.

Re: [flexcoders] garbage collection question

2010-07-29 Thread Oleg Sivokon
1. Using weak references is the last thing you should do, whenever possible you should avoid it. By doing so you leave all means of control of the object, and if the object has some kind of behavior that will keep it alive, you won't be able to delete it ever (example, the *deleted* object did not

Re: [flexcoders] garbage collection question

2010-07-29 Thread Alex Harui
The profiler will show you who is still referencing the object. On 7/29/10 1:01 PM, djbrown_rotonews djbrown_roton...@yahoo.com wrote: I'm trying to track down a memory leak in one of my applications, having already employed the use weak reference in dictionaries and eventListeners

[flexcoders] garbage Collection articles

2010-01-07 Thread Nick Middleweek
Hi, Can anyone recommend a good read for garbage collection and when it kicks in, how it works, etc?... I'm particularly interested in learning about what happens to variables/ objects that are declared in a local function but are assigned to the global 'Model', then the function ends so the

RE: [flexcoders] garbage Collection articles

2010-01-07 Thread Karthik Kailash
[mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Middleweek Sent: Thursday, January 07, 2010 11:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] garbage Collection articles Hi, Can anyone recommend a good read for garbage collection and when it kicks in, how it works, etc?... I'm

RE: [flexcoders] garbage Collection articles

2010-01-07 Thread Alex Harui
] On Behalf Of Nick Middleweek Sent: Thursday, January 07, 2010 11:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] garbage Collection articles Hi, Can anyone recommend a good read for garbage collection and when it kicks in, how it works, etc?... I'm particularly interested in learning about

Re: [Spam] RE: [flexcoders] garbage Collection articles

2010-01-07 Thread Nick Middleweek
*Subject:* [flexcoders] garbage Collection articles Hi, Can anyone recommend a good read for garbage collection and when it kicks in, how it works, etc?... I'm particularly interested in learning about what happens to variables/ objects that are declared in a local function

RE: [Spam] RE: [flexcoders] garbage Collection articles

2010-01-07 Thread Alex Harui
: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Middleweek Sent: Thursday, January 07, 2010 1:58 PM To: flexcoders@yahoogroups.com Subject: Re: [Spam] RE: [flexcoders] garbage Collection articles Thanks for both your replies... I'll check out those links :) er, Alex

[flexcoders] Garbage collection issues with mx:Image DataGrid custom item renderers!

2009-11-13 Thread emc_rcsiki
Hello, I am trying for days to figure out why the GC does not do it's work when my plain mx:DataGrid uses a custom item renderer in one of it's columns (plain mx:DataGridColumn object) that represents a plain mx:Image image. When the DataGrid is removed from the display list, Flex Profiler

RE: [SPAM] [flexcoders] Garbage collection issues with mx:Image DataGrid custom item renderers!

2009-11-13 Thread Tracy Spratt
1:07 PM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] Garbage collection issues with mx:Image DataGrid custom item renderers! Hello, I am trying for days to figure out why the GC does not do it's work when my plain mx:DataGrid uses a custom item renderer in one of it's

Re: [SPAM] [flexcoders] Garbage collection issues with mx:Image DataGrid custom item renderers!

2009-11-13 Thread emc_rcsiki
Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of emc_rcsiki Sent: Friday, November 13, 2009 1:07 PM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] Garbage collection issues

[flexcoders] Garbage collection crashing flash player

2009-11-02 Thread Aaron Hardy
Hey flexers, My team has been building an application that's graphically heavy. The heaviest portion consists of two sprites that are ~4000x4000 pixels and have a bunch of sprite children and ~20 bitmaps each. The content ends up being ~30 MB for both sprites total, give or take 20 MB. When

[flexcoders] Garbage Collection question

2008-09-10 Thread Josh McDonald
Guys, just a quick question for anybody skilled up on the voodoo - I'm not 100% sure of a way to test this yet so I thought I'd ask: I assume the Garabage Collector is a background thread so far as mark-and-sweep etc, but does it do actual collecting while AVM2 is processing bytecode? I'm just

RE: [flexcoders] Garbage Collection question

2008-09-10 Thread Alex Harui
render. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Wednesday, September 10, 2008 8:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Garbage Collection question Guys, just a quick question for anybody skilled up on the voodoo - I'm

Re: [flexcoders] Garbage Collection question

2008-09-10 Thread Josh McDonald
@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Josh McDonald *Sent:* Wednesday, September 10, 2008 8:24 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Garbage Collection question Guys, just a quick question for anybody skilled up on the voodoo - I'm not 100% sure

RE: [flexcoders] Garbage Collection question

2008-09-10 Thread Alex Harui
@yahoogroups.com Subject: Re: [flexcoders] Garbage Collection question Hey I read it, it didn't answer *this* question :) I know it's started when you allocated something, I just didn't know whether the actual collection would pause the vm or if it simply went and cleaned up on another thread. I

[flexcoders] Garbage Collection and event listeners

2008-08-07 Thread flexaustin
Is possible to remove all event listeners by doing something like the following? mc.removeEventListener(*,*,false); Though not sure how you would get the count of eventlisteners or iterate through them? And as far as deleteing any reference to an object can you override removechildren and add

RE: [flexcoders] Garbage Collection and event listeners

2008-08-07 Thread Alex Harui
) creates a reference from a to b, not the other way around. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Thursday, August 07, 2008 10:27 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Garbage Collection and event

[flexcoders] Garbage Collection question

2007-11-17 Thread Mike Krotscheck
I've been digging into memory management techniques recently, and have a question regarding the timing of the two methods. The articles on Adobe.com suggest that both methods (Ref Count and Mark Sweep) run at some arbitrary point in the future defined by current memory usage. I found a discussion

RE: [flexcoders] Garbage Collection question

2007-11-17 Thread Alex Harui
Sent: Saturday, November 17, 2007 7:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Garbage Collection question I've been digging into memory management techniques recently, and have a question regarding the timing of the two methods. The articles on Adobe.com suggest that both methods

[flexcoders] Garbage Collection

2006-08-22 Thread Rich Tretola
If I have an object that has an ArrayCollection as a property, will setting the ArrayCollection = null remove the ArrayCollection from memory or does garbage collection only work on the parent object as a whole? Rich -- Flexcoders Mailing List FAQ:

RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

2006-06-28 Thread Jason Hawryluk
@yahoogroups.comObjet: RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]? If b is the only object holding a reference to c, and b is removed, would c be removed as well without further intervention on my part? Yes. So if I remove b, and b

RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

2006-06-27 Thread Jason Hawryluk
: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]? If you have a | b | c and you do a.removeChild(b), do you have some way to remove listeners to c's events? c won't get a 'remove' event. - Gordon From: flexcoders

RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

2006-06-26 Thread Gordon Smith
12:07 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]? Opps sorry, the remove event. No they are not swfs. Jason -Message d'origine- De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED

RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

2006-06-24 Thread Jason Hawryluk
Opps sorry, the remove event. No they are not swfs. Jason -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Gordon SmithEnvoyé: samedi 24 juin 2006 01:13À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Garbage collection

RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

2006-06-23 Thread Gordon Smith
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Harald Dehn Sent: Thursday, June 22, 2006 3:55 AM To: flexcoders@yahoogroups.com Subject: WG: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]? Is there any answer to this thread? I do have the same problems

RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

2006-06-23 Thread Jason Hawryluk
? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Harald Dehn Sent: Thursday, June 22, 2006 3:55 AM To: flexcoders@yahoogroups.com Subject: WG: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]? Is there any answer

RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

2006-06-23 Thread Gordon Smith
PROTECTED] On Behalf Of Jason Hawryluk Sent: Friday, June 23, 2006 12:21 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]? Thank you, this clears some things up. :) I was actually allocating memory up to 100mb and then seeing if it's collected

WG: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

2006-06-22 Thread Harald Dehn
Is there any answer tothis thread? I dohavethesameproblems with the garbage collector. Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von sourcecoderiaGesendet: Dienstag, 20. Juni 2006 18:06An: flexcoders@yahoogroups.comBetreff: [flexcoders] Garbage collection

[flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

2006-06-20 Thread sourcecoderia
From the documents when using removeChild the removed display item is added to the garbage collection for later removal. However I'm reusing component instances and creating new instance of the same (a sort of tabbed interface where children are created and removed at will. The listeners for