RE: [flexcoders] internal representation of an array

2005-03-22 Thread Erik Westra
] Sent: dinsdag 22 maart 2005 0:59 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] internal representation of an array the problem with memory was my programming mistake I included this array in every external component in my application (I have around 50 components) by mistake so I assume

Re: [flexcoders] internal representation of an array

2005-03-21 Thread Krzysztof Szlapinski
and then, probably while creating >> new >> objects, it runs out of mem and crushes >> it is a 256MB machine >> >> krzysiek >> >> >> > >> > - Gordon >> > >> > -Original Message- >> > From: Peter Farlan

Re: [flexcoders] internal representation of an array

2005-03-21 Thread Matthew Shirey
L PROTECTED] > Sent: Monday, March 21, 2005 2:33 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] internal representation of an array > > > > > Is it running out of memory when being compiled, or when being run? > during compilation > se

RE: [flexcoders] internal representation of an array

2005-03-21 Thread Gordon Smith
That's a tiny amount of RAM for a Flex server. - Gordon -Original Message- From: Krzysztof Szlapinski [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 2:33 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] internal representation of an array > Is it runnin

Re: [flexcoders] internal representation of an array

2005-03-21 Thread Krzysztof Szlapinski
- > From: Peter Farland [mailto:[EMAIL PROTECTED] > Sent: Monday, March 21, 2005 1:19 PM > To: flexcoders@yahoogroups.com > Subject: RE: [flexcoders] internal representation of an array > > > > Do any of these Arrays contain very sparse, non-dense, ordinal indexed > eleme

Re: [flexcoders] internal representation of an array

2005-03-21 Thread Krzysztof Szlapinski
- > From: Krzysztof Szlapinski [mailto:[EMAIL PROTECTED] > Sent: Monday, March 21, 2005 4:11 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] internal representation of an array > > > > no there are no circular references > >> >> Are the

Re: [flexcoders] internal representation of an array

2005-03-21 Thread Krzysztof Szlapinski
ge- > From: Krzysztof Szlapinski [mailto:[EMAIL PROTECTED] > Sent: Monday, March 21, 2005 1:11 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] internal representation of an array > > > > no there are no circular references > >> >>

RE: [flexcoders] internal representation of an array

2005-03-21 Thread Gordon Smith
Is it running out of memory when being compiled, or when being run? - Gordon -Original Message- From: Peter Farland [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 1:19 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] internal representation of an array Do any of

RE: [flexcoders] internal representation of an array

2005-03-21 Thread Peter Farland
lto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 4:11 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] internal representation of an array no there are no circular references > > Are there any circular references between elements of your array > elements? > > There is

RE: [flexcoders] internal representation of an array

2005-03-21 Thread Gordon Smith
> like in the example below but much longer How much longer? - Gordon -Original Message- From: Krzysztof Szlapinski [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 1:11 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] internal representation of an array no th

Re: [flexcoders] internal representation of an array

2005-03-21 Thread Krzysztof Szlapinski
OK but what about its size in memory? krzysiek > The Flash player implements both Array and Object as hashtables. In other > words, doing > >var a:Array = []; >a[10] = "foo"; > > is doing the same thing internally as setting > >var o:Object = {}; >o["10"] = "foo"; > > - Gordon >

Re: [flexcoders] internal representation of an array

2005-03-21 Thread Krzysztof Szlapinski
no there are no circular references > > Are there any circular references between elements of your array > elements? > > There is a known issue in Flex 1.5 for circular references between > non-Typed (i.e. generic unregistered ActionScript class instances) > Objects, Arrays. > > > > > -

RE: [flexcoders] internal representation of an array

2005-03-21 Thread Gordon Smith
The Flash player implements both Array and Object as hashtables. In other words, doing var a:Array = []; a[10] = "foo"; is doing the same thing internally as setting var o:Object = {}; o["10"] = "foo"; - Gordon -Original Message- From: Krzysztof Szlapinski [mailto:[EM

RE: [flexcoders] internal representation of an array

2005-03-21 Thread Peter Farland
Are there any circular references between elements of your array elements? There is a known issue in Flex 1.5 for circular references between non-Typed (i.e. generic unregistered ActionScript class instances) Objects, Arrays. -Original Message- From: Krzysztof Szlapinski [mailto:[EMAI