Hi,
I am using a large 3D grid 1024x1024x1024 and medium stores the same size matrix for each property. Instead, you could only store one matrix that stores the type of each voxel with an integer and a small property matrix that maps each voxel type to different property values.
I have created an input.h5 with such medium that became over 30GB. I think if you make it as I suggested, it reduces the size significantly.
Best,