How to set dynamic memory limit in vray RT CPU

Hi all

I’m using rt CPU to bake some displaced textures. However it keeps, not crashing, but just hanging, similar to if I have dynamic memory limit too low in regular vray. However, I can’t seem to find any settings to change the memory allowance in vray rt CPU. Any advice or help would be much appreciated.

Many thanks

Will

You can check/change it with renderers.current.V_Ray_settings.system_raycaster_memLimit.

EDIT: Figured it out, its
renderers.current.V_Ray_settings.system_raycaster_memLimit = 40000​​​​​​​​​​​​​​ ​​​​​​​many thanks again!
Firstly thank you for such a quick and correct response. Its really appreciated!

I’m a bit of a noob when it comes to max script. I’ve put that command into the listener and get returned 4000 so my suspicion was correct and the memory is set very low. What exactly do I type to set it to either “0” or 40000" as I’m trying a few options and just keep getting errors so I assume my syntax is wrong?

Many thanks again.

Will


 renderers.current.V_Ray_settings.system_raycaster_memLimit = 0 

where “0” is a special value which makes V-Ray to determine the amount automatically. If you want to input something else - then type the desired number after the “=”.