You can check the memory usage from the Windows Task Manager.
On 32-bit machines, the operating system allows by default up to 1.5 GB for any single process (application).
- What is the difference between Static Raycaster and Dynamic Raycaster?
- How to switch V-Ray for working with dynamic raycaster?
UNHANDLED EXCEPTION: memory allocation failure; 1040000 bytes requested; 854803870 bytes already in heap; 1561680 bytes free heap space.
If you feel it is V-Ray that caused thia error, please send the file c:/and if possible, a part of your scene to [email protected] Cancel to abort rendering or Ok to continue UNHANDLED EXCEPTION: memory allocation failure Last marker is at .\src\rengerlight.cpp, line 208: Preparing lights (Vraylight01)Please note that although this error is generated by V-Ray that caused it.
It seems that in Maya, there is a widget leak that may be under the hood that isn't releasing this system resource back to even itself. When I first saw this, I thought it was a memory problem.. That wasn't the case after a couple days of brutal hardware testing and sitting around. As far as I can place it, QWidget seems to be part of Py Qt Python package.
The kind of errors you may be seeing in event viewer would be like: Unhandled exception at 0x00000... It wasn't until after I rolled back an update (KB2756872) that I got this pretty message: Unhandled exception at 0x000007F8ADE35853 (ntdll.dll) in maya.exe: 0x C00000FD: Stack overflow (parameters: 0x0000000000000001, 0x0000000000BE3FD8). There is absolutely nothing that can be done with the system to workaround the problem... or a big fat one with lots of materials, lights, and objects. i do not know if this will be resolved for Maya 2013 users. If so, you could try upgrading the Py Qt for your Maya version and see what happens. Py Qt installation and links to both can be found on the Deex VRay Arsenal site.
Sometimes, the available system RAM may be less than the amount needed for rendering.
In this case, you will most likely get an unhandled exception.
Here is a batch file that checks to see if 3is running, and if it isn't, launches 3dsmax 2012, passes a file to open, and passes a file to run, after the scene has been loaded: tasklist /FI "IMAGENAME eq 3dsmax.exe" /FO CSV FOR /F %%A IN (search.log) DO IF %%~z A EQU 0 GOTO end "C:\Program Files\Autodeskds Max 2012dsmax.exe" "C:\test\test.max" -U MAXScript "C:\test\test.ms" :end del I don't know how to click the 'Adopt the files gamma and lut settings?
How would I programmatically click the 'ok' button?
There is one disgusting thing while rendering complex scenes in V-Ray. It can even fully disarm someone, killing any enthusiasm to continue any further work on the current scene. Can it really be true that to complete a big project we inevitably need to increase the amount of RAM, installed in computer?