User avatar
By ababak
#324296
Crashes for me on both Maya 2010 and Maya 2011 with a complex scene when entering "6" (hardware texturing mode) or several seconds after.

P.S. I've got a crashlog if that helps.
By jfrancis
#324297
ababak wrote:Crashes for me on both Maya 2010 and Maya 2011 with a complex scene when entering "6" (hardware texturing mode) or several seconds after.

P.S. I've got a crashlog if that helps.
That happened to me on a 64-bit Mac with 16 GB RAM running Maya 2010.

It was then that I learned Maya 2010 for Mac was a 32-bit app.

Maybe RAM is your issue too? (Even if you have 2011, do you have the RAM?)

http://maxwellrender.com/forum/viewtopi ... 01&t=34328
User avatar
By Mihnea Balta
#324300
When you hit 6, Maya tries to load all the textures in RAM in full resolution. Unfortunately I can't use that data in my hardware shading code, so I have to load them again myself (you can control the maximum resolution used by my code, see the "Viewport Texture Resolution" dropdown in the plug-in preferences). As jfrancis says, Maya 2010 is 32-bit on OSX, so it's very easy to run out of memory when doing this. Can you check how much memory it's using just before it crashes?

Maya 2011 is 64-bit, so it shouldn't happen there (but of course, it will be very slow if you run out of physical RAM). Post the 2011 crash log please. What GPU do you have?
User avatar
By ababak
#324301
Mihnea Balta wrote:When you hit 6, Maya tries to load all the textures in RAM in full resolution. Unfortunately I can't use that data in my hardware shading code, so I have to load them again myself (you can control the maximum resolution used by my code, see the "Viewport Texture Resolution" dropdown in the plug-in preferences). As jfrancis says, Maya 2010 is 32-bit on OSX, so it's very easy to run out of memory when doing this. Can you check how much memory it's using just before it crashes?

Maya 2011 is 64-bit, so it shouldn't happen there (but of course, it will be very slow if you run out of physical RAM). Post the 2011 crash log please. What GPU do you have?
I'll post 2011 log tomorrow as I have only 2010 available now. Before pressing '6' it used 1 Gb, right after pressing '6' it became 2 Gb and then crashed. I have 8 Gb RAM available but anyway 2 Gb is far beylow 4 Gb limit of 32-bit applications. I use a default NVIDIA GeForce GT 120 that comes with Mac Pro.

I tried setting lower texture resolution preference (1024x1024 instead of max GPU) but that didn't help. It crashed right away reaching 2.22 GB Real Mem.
User avatar
By Mihnea Balta
#324303
4 GB is the amount of memory that can be accessed using 32-bit addresses, but that doesn't mean 32-bit applications can use that much. The OS needs to reserve part of that address space for itself, so in practice you'll run out of memory much earlier. Memory fragmentation can also become an issue - you may seem to have several hundred MB of free memory, but if they're split into many small blocks (due to deallocations) the application won't be able to allocate a large continuous chunk to store a texture. That's unlikely in this case, but you never know; a 4k texture is 64 MB and when running low on memory you may not have a free block that big.

Anyway, 2.22 GB sounds pretty low. It should be able to use more than that before crashing, so this might be a different problem. Hopefully the crash log will have more info.
User avatar
By Mihnea Balta
#324312
Thanks for the 2010 log. The crash happened inside Maya, no plug-in code was running at the time. The reason was an exception inside a worker thread, but the log didn't record what the exception was and doesn't contain enough information to figure out what the worker thread was doing. However, I think the exception was thrown because a memory allocation failed. Can you also send me a 2011 crash log?
User avatar
By ababak
#324313
Mihnea Balta wrote:Thanks for the 2010 log. The crash happened inside Maya, no plug-in code was running at the time. The reason was an exception inside a worker thread, but the log didn't record what the exception was and doesn't contain enough information to figure out what the worker thread was doing. However, I think the exception was thrown because a memory allocation failed. Can you also send me a 2011 crash log?
Yes, sure. I'll be able to test on Maya 2011 again tomorrow.
render engines and Maxwell

well I don't think AI will remain like it is now. […]

Help with swimming pool water

Hi Andreas " I would say the above "fake[…]