def _get_min_size_of_container(self, ram):
        if ram <= 4:
            return 256
        if ram <= 8:
            return 512
        if ram <= 24:
            return 1024
        return 2048
dataset/ETHPy150Open openstack/sahara/sahara/plugins/recommendations_utils.py/HadoopAutoConfigsProvider._get_min_size_of_container/original