I'm able to reproduce, and I think I've found the problem. It is unrelated to 
quadtree.rs, which is originally what I suspected.

Using the OpenGL profiler, I can see that whenever Servo draws a tile, it 
allocates a new GL_R8 texture of size 1024x2048. I think Patrick mentioned that 
Skia may be responsible for this. While textures that are drawn to the screen 
are GC'd properly, these GL_R8 textures are never deleted and take up a 
significant amount of space. Zooming causes more tiles to be rendered, which is 
why the memory increases when performing the test described above.

I'll continue to investigate. The relevant issue is: 
https://github.com/mozilla/servo/issues/639
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to