# Memory Allocation

**URL:** <https://forums.chaos.com/t/memory-allocation/46032>\
**Category:** General\
**Created:** [August 15, 2013, 5:54pm UTC](https://forums.chaos.com/t/memory-allocation/46032 "2013-08-15T17:54:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![glorybound](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/glorybound/32/53992_2.png) [@glorybound](https://forums.chaos.com/u/glorybound)\
**Post date:** [August 15, 2013, 5:54pm UTC](https://forums.chaos.com/t/memory-allocation/46032/1 "2013-08-15T17:54:28Z")

</div>

When I set my V-Ray memory to 0, and auto, is this for all the machines? I have 32Gb on my main workstation, and 12Gb on 5 slaves. When I set V-Ray to something like 19Gb, my slaves max out on RAM, and never render. Now, if I set my V-Ray memory to something like 6Gb, my main workstation does the "Uploading Geometry, which takes forever. Will V-Ray memory o, and auto, is it a percent of each machine? I hope this is clear.

---

<div class="post-metadata">

**Author:** ![super\_gnu](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@super\_gnu](https://forums.chaos.com/u/super_gnu)\
**Post date:** [August 15, 2013, 6:12pm UTC](https://forums.chaos.com/t/memory-allocation/46032/2 "2013-08-15T18:12:45Z")

</div>

if i understand correctly 0 is more like “unlimited” than “auto” but id like to be wrong…

---

<div class="post-metadata">

**Author:** ![glorybound](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/glorybound/32/53992_2.png) [@glorybound](https://forums.chaos.com/u/glorybound)\
**Post date:** [August 15, 2013, 6:24pm UTC](https://forums.chaos.com/t/memory-allocation/46032/3 "2013-08-15T18:24:48Z")

</div>

Yes. I guess the two are night tied together.

What’s happening is, my slaves have 1/2 the RAM my main workstation has, so they are swapping to ROM. 45 minutes into this render and the slaves haven’t engaged yet. When I look at the slave’s task manager, they are at their RAM max.[quote=“Javadevil, post:83, topic:26415, username:Javadevil”]  
if i understand correctly 0 is more like “unlimited” than “auto” but id like to be wrong…  
[/quote]

---

<div class="post-metadata">

**Author:** ![Neilg](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/neilg/32/7044_2.png) [@Neilg](https://forums.chaos.com/u/Neilg)\
**Post date:** [August 15, 2013, 9:59pm UTC](https://forums.chaos.com/t/memory-allocation/46032/4 "2013-08-15T21:59:12Z")

</div>

Switch off displacement for the base render, and do the displaced objects as a separate pass which has been optimized to fit into 12gb.

You cant really work on a machine with 32gb and expect it to fit into 12 at the end without some very heavy optimisation.

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [August 16, 2013, 6:02am UTC](https://forums.chaos.com/t/memory-allocation/46032/5 "2013-08-16T06:02:54Z")

</div>

0 is unlimited dynamic memory. You could try setting it to something like -1000 and then its the physical memory minus a gigabyte, but this is somewhat experimental.

Best regards,  
Vlado
