# Enabling volume rendering for a large volume makes the application crash

**URL:** <https://discourse.slicer.org/t/enabling-volume-rendering-for-a-large-volume-makes-the-application-crash/17032>\
**Category:** Support\
**Tags:** volume-rendering\
**Created:** [April 12, 2021, 1:13am UTC](https://discourse.slicer.org/t/enabling-volume-rendering-for-a-large-volume-makes-the-application-crash/17032 "2021-04-12T01:13:37Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [April 12, 2021, 3:57am UTC](https://discourse.slicer.org/t/enabling-volume-rendering-for-a-large-volume-makes-the-application-crash/17032/7 "2021-04-12T03:57:12Z")

</div>

> [@evodevo](#):
>
> I use the gpu volume rendering. the hand occur right after i zoom in. yes it crashes after the hang

This indicates that you get a TDR error: the operating system shuts down applications that keep the graphics card busy for too long. This happens because the size of the volume is too large for your GPU to comfortably handle. There are several ways to work around this:

- Option A: Run the code snippet above to split the volume to smaller chunks (that way you have a better chance that the graphics card will not be unresponsive for too long) or increase TDR delay in the registry.
- Option B: Crop and downsample your volume using Crop volume and volume render this smaller volume.
- Option C: Increase TDR delay value in registry (see details [here](https://docs.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys))
- Option D: Use CPU volume rendering.
- Option E: Upgrade your computer with a stronger graphics card.

> [@evodevo](#):
>
> I tried inserting the code you sent, but i got an error message and the problem did not go away.

You need to run the code after you enabled volume rendering.

---

_[View the full topic](https://discourse.slicer.org/t/enabling-volume-rendering-for-a-large-volume-makes-the-application-crash/17032)._
