Add trace for memory used by loaded textures.