servo icon indicating copy to clipboard operation
servo copied to clipboard

unreleased memory

Open aydinkim opened this issue 13 years ago • 3 comments

As I tested on Linux and Android, there are some kind of unreleased memory in quadtree.

I think current servo cannot reuse the old tile(different zooming resolution) and don't care about that so that it occurs unnecessary memory consumption.

aydinkim avatar Jul 30 '13 09:07 aydinkim

After some investigation, I have come to believe that this is mostly unrelated to the quadtree. While there might be some memory problems there, the major issue is that Servo creates a GL_R8 texture of size 1024x2048 whenever it renders a tile (possibly due to Skia?). These tiles are never garbage collected, unlike textures drawn to the screen. Since zooming causes new tiles to render, this increases the memory.

Pinging @pcwalton

eschweic avatar Aug 14 '13 17:08 eschweic

These sound like the GPU glyph caches.

metajack avatar Aug 14 '13 18:08 metajack

Going to close this since it's a bug in the now removed pre-WebRender compositor.

mrobinson avatar Jan 17 '18 15:01 mrobinson