Tuesday, January 10, 2012

[YouTube-API] Re: AS3 Chromeless Player garbage collection?

Hello Yotam,

Thanks, I've passed that along to the engineering team. As of right
now, the indication is that this is working as expected and the
objects that are being created by the chromeless player are actually
serving a purpose.

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Jan 7, 3:52 am, Yotam Laufer <uberm...@gmail.com> wrote:
> Hi Jeff,
>
> Here is the output:
>
> screenw=1440&screenh=900&stageFps=10&playerw=640&droppedFrames=15&nsidf=15& playerh=360&scoville=1&volume=100&pd=0%2E7660000000000053&ptk=googledevelop ers&plid=AAS17EWBOgKjMpNu&fs=0&sd=B3E003649MH1325926292296609&nsiabbl=11859 &mos=0&hl=en%5FUS&vid=FhlEhhrAgIYJopctxKwCSQ7h5WqxlDP5C&debug%5FflashVersio n=MAC%2011%2C1%2C102%2C55&debug%5FsourceData=B3E003649MH1325926292296609&ns ivbbl=72939&vq=auto&uga=m36&debug%5FvideoId=u1zgFlCw8Aw&el=embedded&fmt=34& debug%5FplaybackQuality=medium&rendering=software&decoding=null&ahoffset=27 &fexp=907064%2C907605%2C913406&eurl=http%253A%252F%252Fcode%2Egoogle%2Ecom% 252Fapis%252Fyoutube%252Fyoutube%5Fplayer%5Fdemo%2Ehtml%253FplayerType%253D embedded%2526playerVersion%253Das3&vw=480&debug%5Fdate=Sat%20Jan%207%2010%3 A51%3A42%20GMT%2B0200%202012&videoFps=30&vh=360&w=480&md=1&h=360&cfps=29%2E 940119760479043
>
> Thanks!
>
>
>
>
>
>
>
> On Fri, Jan 6, 2012 at 11:24 PM, Jeffrey Posnick <je...@google.com> wrote:
> > Hello Yotam,
>
> >  The Players engineering team believes that what you're seeing is
> > expected, and not the result of some errant behavior or memory leak.
> > To confirm this, though, they're asking you to visit
>
> >http://code.google.com/apis/youtube/youtube_player_demo.html?playerTy...
>
> > and right-click on the embedded player there, and choose "Copy debug
> > info" from the menu that appears to copy the debug info to your
> > clipboard, and then pass it along to me.
>
> > Cheers,
> > -Jeff Posnick, YouTube API Team
> > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > @YouTubeDev
>
> > On Jan 6, 3:52 pm, Jeffrey Posnick <je...@google.com> wrote:
> > > Hello Yotam,
>
> > >  Okay, I'll run it by the Players engineering team for their input.
>
> > > Cheers,
> > > -Jeff Posnick, YouTube API Team
> > > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > > @YouTubeDev
>
> > > On Jan 5, 1:11 am, Yotam Laufer <uberm...@gmail.com> wrote:
>
> > > > Hi Jeffery,
>
> > > > I am not familiar with the internals of the chromeless player, but I'm
> > not
> > > > sure why 5000 instances of any object type might be required. My
> > > > application is far heavier and more resource intensive than the
> > chromeless
> > > > player it contains, and the chromeless player uses more than 80% of the
> > > > total app memory.
>
> > > > To me the instance count seems excessive for the task at hand and I am
> > > > quite pretty sure that this is a new issue. I also hear the computer's
> > fan
> > > > now, something that didn't happen before.
>
> > > > If this is on purpose then no problem or harm done, but you should
> > probably
> > > > check it out, since it could be a memory leak.
>
> > > > Thanks!
>
> > > > On Wed, Jan 4, 2012 at 10:31 PM, Jeffrey Posnick <je...@google.com>
> > wrote:
> > > > > Hello Yotam,
>
> > > > >  Are you sure this is actually causing any problems, and that it
> > > > > represents bad behavior on the part of the chromeless player? The
> > > > > player obviously will need to allocate memory for internal data
> > > > > structures, and the percentage of the total memory that gets
> > allocated
> > > > > for those structures obviously depends on what else is allocating
> > > > > memory in your code. If there's not much else that's memory-intensive
> > > > > in your code, I would certainly expect the memory allocated by the
> > > > > chromeless player to take up a sizable chunk of the total memory
> > > > > allocated.
>
> > > > > Cheers,
> > > > > -Jeff Posnick, YouTube API Team
> > > > > groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
> > > > > @YouTubeDev
>
> > > > > On Jan 3, 5:53 am, Yotam Laufer <uberm...@gmail.com> wrote:
> > > > > > Yes. And it also happen very close to startup. Look at the graph.
>
> > > > > > <
> >https://lh6.googleusercontent.com/-AoSevlZcWh8/TwLd5im986I/AAAAAAAAAC..
> > > > > .>
>
> > > > > --
> > > > > You received this message because you are subscribed to the Google
> > Groups
> > > > > "YouTube APIs Developer Forum" group.
> > > > > To post to this group, send email to
> > youtube-api-gdata@googlegroups.com.
> > > > > To unsubscribe from this group, send email to
> > > > > youtube-api-gdata+unsubscribe@googlegroups.com.
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/youtube-api-gdata?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "YouTube APIs Developer Forum" group.
> > To post to this group, send email to youtube-api-gdata@googlegroups.com.
> > To unsubscribe from this group, send email to
> > youtube-api-gdata+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/youtube-api-gdata?hl=en.

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment