question

cera keca avatar image
cera keca asked ·

Error and crashing 3ds Max

I encountered an issue lately where Arnold constantly keeps aborting the render and most of the time crashes Max.

Here is the log, hope every information is included:

errorlog.txt

maxtoa
errorlog.txt (18.3 KiB)
1 comment
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Let me add, Arnold and driver are up-to-date and im rendering with GPU:

NVIDIA GeForce GTX 1070
Display Memory: 24441 MB
Dedicated Memory: 8088 MB
Shared Memory: 16353 MB

0 Likes 0 ·
cera keca avatar image
cera keca answered ·

@Mads Drøschler@Thiago Ize

First of all thank you for the suggestions to approach this issue. I managed to find the culprit, that was literally devouring a huge amount of memory:
It was a displacement map (only one so far, i planed to add more), that accupied 2.5k MB of the card...
Im still getting into rendering with Arnold, but isnt this a bit much for just one displacement map?

2 comments
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Glad you found what was using all your memory. As we mentioned before, if you use .tx files for your textures, it should vastly reduce your memory usage.

0 Likes 0 ·

Will open another thread on why i couldnt use that option.

0 Likes 0 ·
Thiago Ize avatar image
Thiago Ize answered ·

It looks like the first error message was because you ran out of gpu memory. After that happened, it's possible arnold was left in a bad state and now all renders are failing. Try restarting 3dsmax and see if that fixes it -- provided you render a scene that fits in memory of course.

9 comments
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Restarted and occured again, then again...

How do i know, if the scene is in the boundaries of my gpu memory? What do i need to change to fix it?

0 Likes 0 ·

It's in the log, you provided:

[Arnold]: 00:15:32 13962MB ERROR   |  [gpu] an error happened during rendering. OptiX error is: Memory allocation failed (Details: Function "_rtContextLaunch2D" caught exception: Memory allocation failed)caught exception: Memory allocation failed)
    GPU 0 had 5979MB free before rendering started and 456MB free when crash occurred
    GPU errors are sometimes due to a GPU not having enough remaining free memory. To see if this is what happened here, try simplifying your scene or running on a GPU with more free RAM to see if it solves the crash.


0 Likes 0 ·
cera keca avatar image cera keca Thiago Ize ·

Saw that. I dont have another GPU so that option is out of question.
What does simplifying mean? This started when i added couple more object into my scene (bed, table, chair and so on...) cant i add anymore stuff now due to out of memory? There sure must be another solution, since my GPU has 8k MB

0 Likes 0 ·
Show more comments

You can download something like GpuZ and go to page 2 and watch the number on available GPU mem as the machine loads the set to the card.
https://www.techpowerup.com/gpuz/

I use it in all those cases where I need to squeeze the maximum out of card, without triggering the issue you have at hand.

You need to determin which part is the most expensive, could be displacement subdivisions or something else, then treat the local problem until it can run on the card with the amount of memory available

0 Likes 0 ·
cera keca avatar image cera keca Mads Drøschler ·

Alright have that tool, but never had to use it for rendering (first time this happens). So its more mateial related, if i understand you correctly? My texture resolutions go from 1k to 8k and dispensing 8k textures could save me more memory?


0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.