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.
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
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
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
[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
] 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
*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
: 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
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
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
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
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
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
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
@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
@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
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
) 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
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
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
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:
@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
:
[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
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
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
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
?
- 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
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
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
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
30 matches
Mail list logo