# V-Ray GPU Light Cache

**URL:** <https://forums.chaos.com/t/v-ray-gpu-light-cache/107582>\
**Category:** General\
**Created:** [November 23, 2021, 1:46pm UTC](https://forums.chaos.com/t/v-ray-gpu-light-cache/107582 "2021-11-23T13:46:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karol.Osinski](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/karol.osinski/32/40361_2.png) [@Karol.Osinski](https://forums.chaos.com/u/Karol.Osinski)\
**Post date:** [November 23, 2021, 1:46pm UTC](https://forums.chaos.com/t/v-ray-gpu-light-cache/107582/1 "2021-11-23T13:46:17Z")

</div>

Hi, I know since Maya Update 2, LC is by default calculated with GPU. I have particularly heavy scene I came back to now and I receive the following error:

**// Error: V-Ray : [GPU light cache] Could not allocate pinned buffer of size 38400000! //**

Is there any way to override settings and force LC to be calculate with CPU instead? I feel like this has been changed a bit too early, even though I don’t have issues with any other scene I am rendering with GPU.

regards,  
Karol

---

<div class="post-metadata">

**Author:** ![Muhammed\_Hamed](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/muhammed_hamed/32/73779_2.png) [@Muhammed\_Hamed](https://forums.chaos.com/u/Muhammed_Hamed)\
**Post date:** [November 23, 2021, 2:35pm UTC](https://forums.chaos.com/t/v-ray-gpu-light-cache/107582/2 "2021-11-23T14:35:41Z")

</div>

Hey @Karol.Osinski

There is a fix to this issue that was just released today, it should cover most of the memory issues with GPU LC  
You will find it in the Stable 5.2 folder, build number 31122  
I have tested this fix extensively and it seems to work nicely, let me know how this works for you  
Sorry about this inconvenience, we didn’t get it in time for Maya’s update 2

Best,  
Muhammed

---

<div class="post-metadata">

**Author:** ![Karol.Osinski](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/karol.osinski/32/40361_2.png) [@Karol.Osinski](https://forums.chaos.com/u/Karol.Osinski)\
**Post date:** [November 25, 2021, 8:42am UTC](https://forums.chaos.com/t/v-ray-gpu-light-cache/107582/3 "2021-11-25T08:42:31Z")

</div>

Thanks @Muhammed_Hamed😉

---

<div class="post-metadata">

**Author:** ![Muhammed\_Hamed](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/muhammed_hamed/32/73779_2.png) [@Muhammed\_Hamed](https://forums.chaos.com/u/Muhammed_Hamed)\
**Post date:** [November 29, 2021, 11:37pm UTC](https://forums.chaos.com/t/v-ray-gpu-light-cache/107582/4 "2021-11-29T23:37:54Z")

</div>

There is extra work being done on this, make sure you are on the latest nightly build 🙂  
This should be much better than before

Best,  
Muhammed
