[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Lifetime of WebGL objects in Firefox and Webkit

On Tue, Jun 28, 2011 at 7:42 PM, Gregg Tavares (wrk) <gman@google.com> wrote:
My point is, since it's browser dependent when GC happens then fixing this doesn't fix the problem. If you have 256meg of vram. You allocate 200 of it, let 100meg of it lose all references and then try to allocate 150meg more there is NO GUARANTEE that your GC is going to free those objects in time for your request and therefore free up that 100meg so your 150meg allocation will happen.

The same can be argued of *all* allocations in _javascript_.  By your reasoning, _javascript_ shouldn't have GC at all and we should all go back to explicit memory management.

Glenn Maynard