Optimizing data storage
You can consider various options to optimize data storage, such as increasing storage space through erasure coding, using codecs for compressing data, balancing data across an HDFS cluster, and so on.
To know more about HDFS heap calculations, see HDFS heap sizing.