Hi,
I don’t know why, but, i have a lot of proxy with a lot of tiled exr textures.
I set, for example, the dynamic memory to 10 giga.
When i activate the motion blur, the dynamic memory is not respected, and i have more than 24 giga in memory…
And when the render was finish, all the memory are not “cleaned”.
For example before the render, i have 14 giga of free memory. When the render is finished, i have like 10 giga of free memory.
Sometime, Vray crash with :
terminate called recursively
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
maya encountered a fatal error
Signal: 6 (Abort)
It is normal ?
Thanks.
Hi,
Can you tell us the versions of Maya, V-Ray and your OS?
No, crashes are normal!
Also, keep in mind that the dynamic memory limit is valid only for dynamic geometry.
The static one or the other data structures used by V-Ray can take additional memory.
/Teodor
Hi Teodor,
Stable version, V-Ray for Maya version 2.00.04 from Jul 16 2011, Linux64, Maya 2011.
We know it is proxies because when we hide all proxies, no crash (and lot of free memory).
And when we deactivate motion blur (but keep proxies), no crash (and lot of free memory).
Proxies + motion blur = crash, lot of memory (dynamic memory not respected), etc etc…
And a strange problem with proxies + motion blur : for example, i have on the computer 4 giga of memory used.
I start to render 1 frame. At the end of the frame, i have 5.4 giga memory used.
Start another render, 6.8 giga used.
Another, 8.2.
Etc etc…
?
Can you try a nightly build?
Is there any chance we can get the scene?
/Teodor
p.s. It is normal that V-Ray uses more memory in motion-blur mode.
I will try with a nightly.
I will be difficult to give your a scene, because it is a “big” scene, with a lot of texture, proxy, etc etc.
I know our proxies have “bad” velocity start/end (not corresponding with the duration and interval center of the motion blur). Do you think it can be the problem ?
We use proxy with a lot of polygons because with can’t use displacement with proxy.
Do you have information about the implementation of proxy + displacement ?
It seems there was a bug related to the mblur+proxies+dynamic memory.
This bug should be fixed in a nightly with revision >=16411.
If you’re on linux or mac you can get the today’s night build, unfortunately there is some problem with the windows builds.
/Teodor
I am on Linux64 and there are 1 nightly >= 16411, it is the 16412.
But i can not start Maya ahah.
My Maya crash instantly.
[2011/Aug/26|14:43:03] V-Ray: V-Ray for Maya version 2.15.01, revision 16412 from Aug 26 2011, 13:02:40
[2011/Aug/26|14:43:03] V-Ray: V-Ray core version is 2.00.01
[2011/Aug/26|14:43:03] V-Ray warning: .
[2011/Aug/26|14:43:03] V-Ray warning: .
[2011/Aug/26|14:43:03] V-Ray warning: .
[2011/Aug/26|14:43:04] V-Ray error: (kFailure): Unexpected Internal Failure
registerTransform failed: (kFailure): Unexpected Internal Failure
maya encountered a fatal error
Signal: 11 (Unknown Signal)
Fatal Error. Attempting to save in /tmp/dbataille.20110826.1443.ma
Ps : i am in production on a feature film. It is hard to work with this bug (proxy + mblur).
Thank you very much Teodor.
Hm,
Strange it works for me, but earlier today, I have the same problem.
Can you try a clean install?
Now, I tried the exactly the same nightly and it worked.
When the Vray plugin is in auto load, my Maya crash.
When not, the Maya start. After i start the plugin manually.
But it doesn’t work.
When i go to the hypershade, create a vrayMaterial, my Maya crash.
Clean install ? What is it ?
Yes, also logout and then login.
Same problem. 
[2011/Aug/26|15:14:12] V-Ray: V-Ray for Maya version 2.15.01, revision 16412 from Aug 26 2011, 13:02:40
[2011/Aug/26|15:14:12] V-Ray: V-Ray core version is 2.00.01
[2011/Aug/26|15:14:12] V-Ray warning: .
[2011/Aug/26|15:14:12] V-Ray warning: .
[2011/Aug/26|15:14:12] V-Ray warning: .
[2011/Aug/26|15:14:12] V-Ray error: (kFailure): Unexpected Internal Failure
registerTransform failed: (kFailure): Unexpected Internal Failure
libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area
maya encountered a fatal error
Signal: 11 (Unknown Signal)
Fatal Error. Attempting to save in /tmp/dbataille.20110826.1514.ma
Wait, it looks like a environment variable problem.
I will check.
Edit : yes, environment problem.
Thank you Teodor !