This is due to restrictions in HLSL. The size of RWStructuredBuffer<T> elements in Shader Model 5.1 cannot be larger than 2048 bytes so we cannot use a RWStructuredBuffer<Arr>, where Arr is a struct containing a large array.