Dr Jit Exhausted Memory with envmap? #1498
Replies: 5 comments 6 replies
-
Beta Was this translation helpful? Give feedback.
-
Uploaded as text file (xml unsupported) text contents:
Here's the jpg, unfortunately I cannot upload the exr file here. This is always throwing the dr jit error message in the above comment. I do sometimes get errors on loading 4k xml files for bsdf textures. Here's the error message that throws: Really at a loss here. I'd been using these images to render for months without issue. |
Beta Was this translation helpful? Give feedback.
-
Hello @Disgruntoad, There were indeed bug in certain drivers versions, that are only fixed / worked around by using both driver 570+ and Mitsuba 3.6.4+ (which includes DrJit 1.0.5+). There could have been regressions in memory usage in recent Mitsuba versions, but it's very strange that going back to the previous driver did not resolve the issue. |
Beta Was this translation helpful? Give feedback.
-
Hi @Disgruntoad Some of the information got scattered across multiple threads. Code used to work with 3.5.2 but broke with 3.6.4. Now when debugging, you ran into on 3.5.2 again but it also failed there. Is that correct? If that's the case, it's very strange. It sounds more like a system issue. You shared a few different error logs. Once it tried to allocate
I'm not sure I followed this part. What lead you to believe this? You can also compile the project yourself in debug and set a breakpoint in |
Beta Was this translation helpful? Give feedback.
-
Just an update -- never resolved this. Ended up creating lower-resolution images and using those. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi I've been rendering on 3.5.2 for a while without issue, but i recently started getting this bug after updating nvidia drivers. I recompiled mitsuba as well. This is a 'cuda-spectral' variant running with a 300Mb 16k hdri. Before the driver update, I wasn't having any issues rendering it.
Any insight would be appreciated! Can't seem to figure out what I've missed.
I upgraded my mitsuba environment to 3.6.4 and reran the code. The error is now:

I'm loading a relatively large xml file (>300Kb), but the scene should fit into gpu memory with about 12 gb to spare. The xml file only includes objects, bsdfs, and emitters, not the camera or integrator. I did turn off hdri for this test, replacing it with a global illuminator (custom spectrum, embedded in xml file).
Beta Was this translation helpful? Give feedback.
All reactions