Shlomic - Check the browser process size with taskman (or whatever it is in
Windows these days) rather than the profiler, while using the debug player.
See if it grows too much; if not, you've got nothing to worry about. If so,
file a bug, it's the only way these things will get fixed.

-J

On Wed, May 14, 2008 at 10:08 AM, Alex Harui <[EMAIL PROTECTED]> wrote:

>    I'm not clear the player is leaking as much as the profiler is showing
> references that it shouldn't.
>
>
>
> In the profiler, you will see strings with no backreferences.  I don't
> worry about those, and only worry about ones with backreferences.
>
>
>  ------------------------------
>
> *From:* [email protected] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *shlomic_thailand
> *Sent:* Tuesday, May 13, 2008 2:30 PM
>
> *To:* [email protected]
> *Subject:* [flexcoders] Re: Memory leak in UIDUtil.createUID()
>
>
>
> Hi
>
> you were right, i've made a test with periodically creating new UID
> with timer (10000 times each tick) and the was no problem on FF and
> IE when i installed the release version.
>
> BUT - this is shame from adobe to release a player in debug version
> which has leaks in it,
> first of all - we spent a week for nothing.
> second - how can a developer write something and make sure his code
> is not leaking ? if he needs to install/reinstall a different version
> every time.
>
> but at least we don't have a problem.
>
> Shlomi
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, "Alex
> Harui" <[EMAIL PROTECTED]> wrote:
> >
> > The profiler does not always account for strings correctly. You
> may be
> > seeing the results of that. The true test is to run the test in the
> > release player and automatically generate UIDs and see if memory
> usage
> > grows over time.
> >
> > ________________________________
> >
> > From: [email protected] <flexcoders%40yahoogroups.com>
> [mailto:[email protected] <flexcoders%40yahoogroups.com>] On
> > Behalf Of Bjorn Schultheiss
> > Sent: Monday, May 12, 2008 4:03 PM
> > To: [email protected] <flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] Re: Memory leak in UIDUtil.createUID()
> >
> >
> >
> > I hope not.
> >
> > I'm using it everywhere!
> >
> > --- In [email protected] <flexcoders%40yahoogroups.com><mailto:
> flexcoders% <flexcoders%25>
> 40yahoogroups.com>
> > , "shlomic_thailand" <shlomic@> wrote:
> > >
> > > Hi
> > >
> > > i ran the following simple application in flex builder 3 profiler
> > > and found that this method (createUID) is leaking memory.
> > > looking at its content seems its ok - any ideas
> > >
> > > <?xml version="1.0" encoding="utf-8"?>
> > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml
> > <http://www.adobe.com/2006/mxml> "
> > > layout="absolute">
> > >
> > > <mx:Script>
> > > <![CDATA[
> > > import mx.utils.UIDUtil;
> > > import mx.collections.ArrayCollection;
> > >
> > > private function onCC():void{
> > > var s:String = UIDUtil.createUID();
> > >
> > >
> > >
> > > }
> > >
> > >
> > >
> > > ]]>
> > > </mx:Script>
> > >
> > > <mx:Button click="onCC()" label="clickme">
> > >
> > > </mx:Button>
> > >
> > > </mx:Application>
> > >
> >
>
>  
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to