Protect point and line pattern symbol layer from eating too much memory