How to disable spill object on disk and just let app failed?

can you try RAY_object_spilling_threshold=1.0 ?