# Ray storage for spilling

**URL:** <https://discuss.ray.io/t/ray-storage-for-spilling/22322>\
**Category:** Ray Core\
**Created:** [April 16, 2025, 6:05am UTC](https://discuss.ray.io/t/ray-storage-for-spilling/22322 "2025-04-16T06:05:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shiranbi](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@shiranbi](https://discuss.ray.io/u/shiranbi)\
**Post date:** [April 16, 2025, 6:05am UTC](https://discuss.ray.io/t/ray-storage-for-spilling/22322/1 "2025-04-16T06:05:47Z")

</div>

**1. Severity of the issue: (select one)**  
 None: I’m just curious or want clarification.

I am looking at the configuration for spilling storage and i came across  
type: ray\_storage which is implemented via: ExternalStorageRayStorageImpl found in file: python\ray\_private\external\_storage.py  
i was wondering what it represents as there is no documentation for this

---

<div class="post-metadata">

**Author:** ![eoakes](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/eoakes/32/7825_2.png) [@eoakes](https://discuss.ray.io/u/eoakes)\
**Post date:** [April 16, 2025, 4:42pm UTC](https://discuss.ray.io/t/ray-storage-for-spilling/22322/2 "2025-04-16T16:42:44Z")

</div>

Hi Shiranbi, this was an experimental API that is in the process of being deprecated. The idea was to configure external storage across the entire Ray cluster, but it was never carried through and I wouldn’t recommend using it.

---

<div class="post-metadata">

**Author:** ![shiranbi](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@shiranbi](https://discuss.ray.io/u/shiranbi)\
**Post date:** [April 17, 2025, 4:23am UTC](https://discuss.ray.io/t/ray-storage-for-spilling/22322/3 "2025-04-17T04:23:09Z")

</div>

@eoakes is there a way to disable spilling? and get an error if i am out of memory in the object store?

---

<div class="post-metadata">

**Author:** ![eoakes](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/eoakes/32/7825_2.png) [@eoakes](https://discuss.ray.io/u/eoakes)\
**Post date:** [April 29, 2025, 1:00am UTC](https://discuss.ray.io/t/ray-storage-for-spilling/22322/4 "2025-04-29T01:00:26Z")

</div>

There is not currently a stable API to disable spilling but we’re in the process of adding one: [[Core] Expose object\_spilling\_enabled Option to Public API by MengjinYan · Pull Request #51851 · ray-project/ray · GitHub](https://github.com/ray-project/ray/pull/51851)
