Set ramdisk_size according to available RAM