likely memory leak caused by WebGL's gl.bufferData call
Reported by
robertm@chromium.org,
Apr 19 2016
|
|||||
Issue descriptionVersion: 49.0.2623.112 (Official Build) (64-bit) OS: Linux Load http://art.muth.org/helios.html Wait 1h-2h The JS will eventually crash ("out of memory"). Internally the code does essentially: for each redraw: gl.bindBuffer(WEBGL.ELEMENT_ARRAY_BUFFER, buffer); [compute new array "data"] gl.bufferData(WEBGL.ELEMENT_ARRAY_BUFFER, data, WEBGL.DYNAMIC_DRAW); So it updates the data for the same buffer over and over again. GPU memory usage is minimal and does seem to grow. The code is dart transpiled to JS - so there could be other issues. However, Firefox does not seem to run out of memory, so Chrome seems to be the most likely culprit. Note, that a similar bug was file here for another platform: https://bugs.chromium.org/p/chromium/issues/detail?id=365055
,
Apr 20 2016
,
Apr 21 2016
,
May 2 2016
,
Dec 8 2016
Closing given no response to #1. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by kbr@chromium.org
, Apr 20 2016Components: Blink>WebGL Blink>JavaScript Blink>Bindings Blink>MemoryAllocator>GarbageCollection