Octane 3 memory leak?

Forums: Octane 3 memory leak?
Sub forum for bug reports
Forum rules
Before posting a bug report, please check the following:
1. That the issue has not already been disclosed
2. That the issue is specific to this plugin, and not Octane in general (Try reproducing it in Standalone)
Bugs related to the Octane Engine itself should be posted into the Standalone Support sub-forum.


All bug reports should include the information below, along with a detailed description of the issue and steps to reproduce it.
A. Operating System, including version (i.e. Win 7, OSX 10.11.2, Ubuntu 14.04, etc.)
B. Graphics Card(s) model (i.e. GTX 580 - 3GB, TITAN, etc.)
C. RAM Capacity (i.e. 6 GB)
D. Nvidia driver version (i.e. 7.50, 7.5.22)
E. OctaneRender Standalone version, if installed (i.e. 2.24.2, 2.23, etc.)
F. OctaneRender plugin version (i.e. v2.25 - 2.21)
G. Host application version, including build number if available (i.e. 3ds Max 2016 Build 18.0)

Re: Octane 3 memory leak?

Postby darkline » Fri Aug 05, 2016 2:34 pm

darkline Fri Aug 05, 2016 2:34 pm
azen wrote:
darkline wrote:Can anyone send me an email address and I can send you the file please?


Sent you a contact address via PM. I recommend WeTransfer for sending large scenes.



Done, thanks very much
Windows 7 64bit/ Intel 3930K/ ASUS Rampage IV/ GTX980ti x 2/ 64GB system RAM
darkline
Licensed Customer
Licensed Customer
 
Posts: 291
Joined: Wed Mar 07, 2012 11:56 pm

Re: Octane 3 memory leak?

Postby darkline » Wed Aug 31, 2016 9:13 am

darkline Wed Aug 31, 2016 9:13 am
Hi, just a quick follow up but how did you get on with my scene?

Did you experience the same issues as me? Can this be fixed, or does V3 really take up 2.5x the Vram of the same scenes?
Windows 7 64bit/ Intel 3930K/ ASUS Rampage IV/ GTX980ti x 2/ 64GB system RAM
darkline
Licensed Customer
Licensed Customer
 
Posts: 291
Joined: Wed Mar 07, 2012 11:56 pm

Re: Octane 3 memory leak?

Postby azen » Wed Aug 31, 2016 9:53 pm

azen Wed Aug 31, 2016 9:53 pm
Hi,

This is currently being treated as a standalone-based issue, as it is difficult to account for the extra memory consumption from all the usual plugin-related causes. The standalone is currently being investigated. Hopefully a forthcoming release will provide a resolution, or at least provide more understanding. Apologies for the inconvenience.
azen
OctaneRender Team
OctaneRender Team
 
Posts: 756
Joined: Mon Jun 01, 2015 11:06 pm

Re: Octane 3 memory leak?

Postby abstrax » Wed Aug 31, 2016 10:03 pm

abstrax Wed Aug 31, 2016 10:03 pm
darkline wrote:Hi, just a quick follow up but how did you get on with my scene?

Did you experience the same issues as me? Can this be fixed, or does V3 really take up 2.5x the Vram of the same scenes?

Sorry, but we didn't receive a scene, could you send it again to me or azen. Thank you.
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
abstrax
OctaneRender Team
OctaneRender Team
 
Posts: 5484
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

Re: Octane 3 memory leak?

Postby darkline » Mon Sep 19, 2016 12:37 pm

darkline Mon Sep 19, 2016 12:37 pm
Hi Abstrax,

think I replied to the other thread, but I resent the file and got a download confirmation.

Just wondering if you were able to reproduce the problem and or see a possible fix?

thanks
Windows 7 64bit/ Intel 3930K/ ASUS Rampage IV/ GTX980ti x 2/ 64GB system RAM
darkline
Licensed Customer
Licensed Customer
 
Posts: 291
Joined: Wed Mar 07, 2012 11:56 pm

Re: Octane 3 memory leak?

Postby abstrax » Mon Sep 19, 2016 10:19 pm

abstrax Mon Sep 19, 2016 10:19 pm
darkline wrote:Hi Abstrax,

think I replied to the other thread, but I resent the file and got a download confirmation.

Just wondering if you were able to reproduce the problem and or see a possible fix?

thanks

Yes, we've got the scene and I had a look at it, but must have forgotten to get back to you and let you know of the conclusions. Apologies for that.

The issue is the modified acceleration structure we introduced with version 2, which needs more memory, i.e. the problem also exists in version 2. The modified acceleration structure renders faster than in v1, but requires more memory. Usually the memory consumption doesn't grow as much as in your example, but if you have a high triangle / volume density then it becomes significant. In your example the fur is the killer. It's super dense (something like 24 million triangles or so) and thus requires a lot of memory.

If you can render it in version 2 but not in version 3, try reducing the parallel samples value to 1, which should reduce the amount of memory that is used to store the samples state.

In a nutshell: It's not a bug but a limitation of the faster ray tracing acceleration structure introduced with v2, for which there is no easy "fix" or workaround.
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
abstrax
OctaneRender Team
OctaneRender Team
 
Posts: 5484
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

Re: Octane 3 memory leak?

Postby darkline » Tue Sep 20, 2016 12:56 pm

darkline Tue Sep 20, 2016 12:56 pm
Thank you for the explanation.

V2 had a poly limit of I think 19 million, so I reduced the fur by 50% to get it to work In that, and tried some displacement maps to bridge the gap. As you say the problem I have now is those scenes don't open in v3, even with parallel samples set to 1.

So looks like I'm stuck with v2 if v3 increases ram usage even more so. I just bought a 980ti but perhaps I need a 1080 for anything fur related. I've also just upgraded from 32gb to 64gb ram which I'm sure will help, so I'll try v3 again when the max plugin gets a more stable release.

Don't take this the wrong way but if octane is going in the direction of more ram usage I think it's something you really need to look at. If I can't render my single fur teddy bear, how's anyone going to use octane for making multiple characters with fur? I think it's a very serious limitation which will struggle being adopted by big studios because of this, and with each release it seems to increase ram usage, not optimise it.

Perhaps this is a limitation of all GPU renderes and it's simply a case of picking the right renderer for the job. But thanks for the explanation and I know what I can and can't do with it now. I'm really looking forward to adaptive sampling in 3.1.
Windows 7 64bit/ Intel 3930K/ ASUS Rampage IV/ GTX980ti x 2/ 64GB system RAM
darkline
Licensed Customer
Licensed Customer
 
Posts: 291
Joined: Wed Mar 07, 2012 11:56 pm

Re: Octane 3 memory leak?

Postby abstrax » Tue Sep 20, 2016 9:00 pm

abstrax Tue Sep 20, 2016 9:00 pm
darkline wrote:Thank you for the explanation.

V2 had a poly limit of I think 19 million, so I reduced the fur by 50% to get it to work In that, and tried some displacement maps to bridge the gap. As you say the problem I have now is those scenes don't open in v3, even with parallel samples set to 1.

The memory usage of the geometry in v2 and v3 should be the same. It's the sample buffer that required additional memory in v3. But you can reduce the memory usage of the sample buffer by setting parallel samples to 1. v3 doesn't have the film buffer on the GPU anymore which save a bit, but that becomes only significant if the the resolution is not tiny (as in your example scene). If that is not enough, then I assume that was a really tight fit on v2.

So looks like I'm stuck with v2 if v3 increases ram usage even more so. I just bought a 980ti but perhaps I need a 1080 for anything fur related. I've also just upgraded from 32gb to 64gb ram which I'm sure will help, so I'll try v3 again when the max plugin gets a more stable release.

Don't take this the wrong way but if octane is going in the direction of more ram usage I think it's something you really need to look at. If I can't render my single fur teddy bear, how's anyone going to use octane for making multiple characters with fur? I think it's a very serious limitation which will struggle being adopted by big studios because of this, and with each release it seems to increase ram usage, not optimise it.

Perhaps this is a limitation of all GPU renderes and it's simply a case of picking the right renderer for the job. But thanks for the explanation and I know what I can and can't do with it now. I'm really looking forward to adaptive sampling in 3.1.

If you want to do anything fur related, you would usually use the hair primitive which uses a lot less memory. Unfortunately there doesn't seem to be a way to fetch the actual hair information from 3ds max hair&fur, which is the actual problem here.
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
abstrax
OctaneRender Team
OctaneRender Team
 
Posts: 5484
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

Re: Octane 3 memory leak?

Postby darkline » Wed Sep 21, 2016 9:52 am

darkline Wed Sep 21, 2016 9:52 am
Thanks Abstrax

It may also be that the max plugin for v 3 is still undergoing development. I've seen reports of users getting blank screens with old v2 scenes. So I'll have to wait and see in that one.

Interesting about the hair primitive. Does this work with any other hair plugin? I'm wondering for example if using Ornatrix hair would use your hair features? Would this plugin be better and what kind of memory saving could I expect to see if so? (Don't want to do all the work again if it's minimal)

Thanks again!
Windows 7 64bit/ Intel 3930K/ ASUS Rampage IV/ GTX980ti x 2/ 64GB system RAM
darkline
Licensed Customer
Licensed Customer
 
Posts: 291
Joined: Wed Mar 07, 2012 11:56 pm
Previous

Return to Bug Reports


Who is online

Users browsing this forum: No registered users and 2 guests

Thu Apr 18, 2024 11:01 am [ UTC ]