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

Re: [Public WebGL] [Typed Array] ArrayBuffer Method Request - Dispose




On 2/25/2013 11:00 PM, Jussi Kalliokoski wrote:
The problem isn't that the memory isn't released, quite the contrary, the problem is that the memory is often released at the wrong time

Then we should think about GC rather then ArrayBuffers. The fact that ArrayBuffers consumes more memory then regular objects does not mean that they are being GC-ed more slowly.
Freeing 1M of memory is not always slower then freeing 16 bytes.


If we want to fight with GC pauses, we should consder thinking about GC control like System.gc() in Java, not about dispose() for buffers.

 -Kirill


----------------------------------------------------------- You are currently subscribed to public_webgl@khronos.org. To unsubscribe, send an email to majordomo@khronos.org with the following command in the body of your email: unsubscribe public_webgl -----------------------------------------------------------