# Huge delay on render end when elements enabled

**URL:** <https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409>\
**Category:** Issues\
**Created:** [June 30, 2015, 10:45am UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409 "2015-06-30T10:45:32Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [June 30, 2015, 10:45am UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/1 "2015-06-30T10:45:32Z")

</div>

When rendering a 4k image (for example), the render may complete in only a matter of a few minutes. However, when we use render elements (we have about 9 setup typically), there is a huge delay at the end of the render before the session of max becomes active again. The delay can last for two minutes or more. This happens when rendering the entire frame buffer or a tiny region of it.

If we disable render elements, the scene recovers much more quickly at render end.

When elements are enabled, we can switch through all the elements during the render without any delay. Only right at the end is there the problem.

Why is this? It is most frustrating. I’m using a Quadro 4000 card. The machine is Windows 7 with a dual Xeon setup and 64GB memory. The scene itself is very straightforward. I am using a Nitrous display.

---

<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:** [June 30, 2015, 11:51am UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/2 "2015-06-30T11:51:22Z")

</div>

Can you get me a scene where I can reproduce this to [vlado@chaosgroup.com](mailto:vlado@chaosgroup.com) ?

Best regards,  
Vlado

---

<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:** [June 30, 2015, 11:55am UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/3 "2015-06-30T11:55:20Z")

</div>

is it not simply a case of vray saving multiple large image files? if it has to generate, compress and write 9 or 10, 4k, 32bit images over the network.

thats probably quite a few hundred megabytes at least.

you mentioned it still happens with tiny regions rendered.. but do you mean region, or crop? with regions, the image is still a 4k file..

---

<div class="post-metadata">

**Author:** ![joconnell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joconnell/32/36063_2.png) [@joconnell](https://forums.chaos.com/u/joconnell)\
**Post date:** [June 30, 2015, 11:56am UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/4 "2015-06-30T11:56:32Z")

</div>

Is it just that you’re writing out some large image files? Are you using the 3dsmax frame buffer or the vray one? You can often have a look at the folder that everything is saving out to and actually see your bitmaps being written to disk - It might take a few seconds for each image to be written and with 9 at 4k, a few seconds per image is going to build up slightly. Are you rendering to the network or a local disk?

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [June 30, 2015, 12:44pm UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/5 "2015-06-30T12:44:56Z")

</div>

I don’t have save on render end checked so it isn’t that. I vaguely recall Vlado suggesting that Nitrous doesn’t like having more than one session of Max open at any one time, so I will try with just one session open and see if things improve (I did have another scene open but it was just dormant and not actually being used so didn’t think that would affect things)

---

<div class="post-metadata">

**Author:** ![dejan\_sparovec](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@dejan\_sparovec](https://forums.chaos.com/u/dejan_sparovec)\
**Post date:** [July 2, 2015, 2:19pm UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/6 "2015-07-02T14:19:19Z")

</div>

Do you have VFB history auto save enabled? I remember I noticed some delays at render end after enabling it.

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [July 2, 2015, 2:34pm UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/7 "2015-07-02T14:34:54Z")

</div>

Nope - I don’t use that

---

<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:** [July 2, 2015, 3:09pm UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/8 "2015-07-02T15:09:21Z")

</div>

We did some tests, but we couldn’t find memory differences between 2.4 and 3.2; will have to do a few more tests though, just to be sure. Still trying to figure where the delay is coming from, however.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [July 2, 2015, 3:19pm UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/9 "2015-07-02T15:19:01Z")

</div>

> [@vlado](#):
>
> We did some tests, but we couldn’t find memory differences between 2.4 and 3.2; will have to do a few more tests though, just to be sure. Still trying to figure where the delay is coming from, however.
> 
> Best regards,  
> Vlado

So are you able to reproduce this delay with one of your test scenes Vlado?

---

<div class="post-metadata">

**Author:** ![Morbid\_Angel](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/morbid_angel/32/21272_2.png) [@Morbid\_Angel](https://forums.chaos.com/u/Morbid_Angel)\
**Post date:** [July 2, 2015, 4:23pm UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/10 "2015-07-02T16:23:31Z")

</div>

tricky, could it be possible the elements have some old network paths in them? I recall we had a problem like that once - we create a max scene using a script which was setup few years ago and network paths have changed since then but the original paths in the render elements were still pointing to old \\server\ and so resolving them was taking that long.

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [July 2, 2015, 4:32pm UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/11 "2015-07-02T16:32:38Z")

</div>

> [@Morbid\_Angel](#):
>
> tricky, could it be possible the elements have some old network paths in them? I recall we had a problem like that once - we create a max scene using a script which was setup few years ago and network paths have changed since then but the original paths in the render elements were still pointing to old \\server\ and so resolving them was taking that long.

No I don’t think so. These are all fresh scenes and I haven’t even given the elements a path to save to. They just save when we choose to save separate render channels in the frame buffer window.

---

<div class="post-metadata">

**Author:** ![re\_FORM](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/re_form/32/36295_2.png) [@re\_FORM](https://forums.chaos.com/u/re_FORM)\
**Post date:** [July 3, 2015, 9:29am UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/12 "2015-07-03T09:29:32Z")

</div>

Hi Tricky,  
I had this problem too.  
I know you’ve probably already check this, but it might be worth triple-checking you don’t have the vfb history autosave enabled. It was the cause of my issues.  
I just did a test in Maya and even with the power switch off, if I had autosave enabled, it was still saving the VFX after rendering.

In fact, can I flag that as a bug Vlado? 🙂 (I’ve only tested this in Maya)

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [July 3, 2015, 10:18am UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/13 "2015-07-03T10:18:21Z")

</div>

> [@re\_FORM](#):
>
> Hi Tricky,  
> I had this problem too.  
> I know you’ve probably already check this, but it might be worth triple-checking you don’t have the vfb history autosave enabled. It was the cause of my issues.  
> I just did a test in Maya and even with the power switch off, if I had autosave enabled, it was still saving the VFX after rendering.
> 
> In fact, can I flag that as a bug Vlado? 🙂 (I’ve only tested this in Maya)

OK - triple checked. You are absolutely correct - it was enabled! I had assumed if the history button was unchecked it wasn’t saving my history. Going into the settings and it was ticked to save saving to my D: drive - a 700+ MB file each time.

Good grief, I’ve been suffering with this for months and months.

Thanks all.

---

<div class="post-metadata">

**Author:** ![re\_FORM](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/re_form/32/36295_2.png) [@re\_FORM](https://forums.chaos.com/u/re_FORM)\
**Post date:** [July 3, 2015, 10:34am UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/14 "2015-07-03T10:34:43Z")

</div>

Hah, Months?!? I feel your pain!

I think this sums up your reaction to checking the settings…

![](http://blog.chron.com/tubular/files/2014/05/ron-swanson-computer.gif)

I take it my pint is in the post?! 🙂

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [July 3, 2015, 10:37am UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/15 "2015-07-03T10:37:42Z")

</div>

> [@re\_FORM](#):
>
> Hah, Months?!? I feel your pain!
> 
> I think this sums up your reaction to checking the settings…
> 
> ![](http://blog.chron.com/tubular/files/2014/05/ron-swanson-computer.gif)
> 
> I take it my pint is in the post?! 🙂

I LOVE Ron Swanson! Best series ever.

(and yes, I’ve been complaining about this for months now!)

4-pack in post right now 😉

---

<div class="post-metadata">

**Author:** ![dejan\_sparovec](https://avatars.discourse-cdn.com/v4/letter/d/f4b2a3/32.png) [@dejan\_sparovec](https://forums.chaos.com/u/dejan_sparovec)\
**Post date:** [July 3, 2015, 1:10pm UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/16 "2015-07-03T13:10:15Z")

</div>

Hold on now 😄  
I’m the first who suggested the VFB history, but you just said nope 😛

Just kidding, glad you sorted it out 😉

---

<div class="post-metadata">

**Author:** ![re\_FORM](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/re_form/32/36295_2.png) [@re\_FORM](https://forums.chaos.com/u/re_FORM)\
**Post date:** [July 3, 2015, 2:02pm UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/17 "2015-07-03T14:02:13Z")

</div>

I’ll hold back a beer for you then!

---

<div class="post-metadata">

**Author:** ![tricky](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tricky/32/56653_2.png) [@tricky](https://forums.chaos.com/u/tricky)\
**Post date:** [July 3, 2015, 3:05pm UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/18 "2015-07-03T15:05:36Z")

</div>

> [@dejan](#):
>
> Hold on now 😄  
> I’m the first who suggested the VFB history, but you just said nope 😛
> 
> Just kidding, glad you sorted it out 😉

Yes, but as far as I was concerned, it was off. Its only in digging into the settings menu after so many people suggested it that it seems you can have it off, yet still enabled! Doesn’t make any sense if you ask me. But thanks all for your help.

Beers by proxy to you all!

---

<div class="post-metadata">

**Author:** ![JezUK](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/jezuk/32/62402_2.png) [@JezUK](https://forums.chaos.com/u/JezUK)\
**Post date:** [July 18, 2015, 8:47am UTC](https://forums.chaos.com/t/huge-delay-on-render-end-when-elements-enabled/54409/19 "2015-07-18T08:47:26Z")

</div>

I typed a message out myself as having exactly this exact same problem (yes, I should have searched the forums first !) - but before I read your post, I did think that the AutoSave Check Box would be better were it to be visible on the VFB Render History dialog box and not buried under History Settings - that way we can easily see it and easily switch it on and off as desired.
