Friday, January 6, 2012

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

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.

No comments:

Post a Comment