Right now, OIT layer count is mysteriously defined as a constant 32 layers in globals.h/globals.cpp (and a default value is duplicated but unused in defs.h), which can consume quite a lot of video memory. 16 bytes per OIT node * screen width * screen height * layer count = ~1 GB at 1920x1080.