Jump to content

max2010 - mental ray proxy memory limit? (crashing)


wasteland giant
 Share

Recommended Posts

doing a scene last night. Had a bunch of trees in it and my machine is the latest and greatest (not at work now) and it has 8gigs of ram.

 

The scene had a bunch of 3D trees in it and I think because of this, it ran out of memory and crashed. Any good way to gauge performance/workability with the proxies? It acted like it wasn't pulling the trees out of proxy as the scene itself was 2mllionish polygons, only the trees were alot and, well, that's the problem.

 

 

mentalray/max/render has run out of memory and render has been stopped was the error message that shows up.

 

time to do some googling

Link to comment
Share on other sites

yeah using BSP2. I'll post screen grabs +error messages shortly. Trying to troubleshoot this. I know it should work better but its not and pissing me off.

 

1277354212.jpg

I'd make sure that your trees have A&D materials on. They perhaps are standard materials with an opacity map stuck? If so, your memory will be very much consumed. Last week I did a scene with 4million polys in a 64 bit with 8 cores and 4GB of RAM and it worked fine. Oh, ensure that you have as many materials instanced as you can. Make sure your materials are not named the same but they are different (Default 1 being a street and Default 1 being a tree). Anyhow, those are some of my ideas, I might even come up with more once you try those and let me know.

Link to comment
Share on other sites

Check xp's virtual memory settings Autodesk recommend you set its minimum size to twice your actual ram.

 

on 4bg of ram I would set virtual memory to Custom Size

Inital size: 8 gb

Max size: 12/24 gb

 

if you set inital size and max size to the same it will stop windows from

resizing it on the fly so if your gonna do that make sure you give it as much as you can afford at least 24gb more if you hard drives big enough.

Link to comment
Share on other sites

I have run into errors in the past when we moved from Max2009 to Max2010. Suddenly our heavier proxied scenes crapped out. The error was never fixed so I found myself going back to Vray more and more after that.

 

When you rendered on the 32bit machine, were you using the same version of Max that you were when you rendered on the 64bit machine?

Link to comment
Share on other sites

Well, I dragged out the onyx tree suite we had and made some lower poly trees and they render all right. Don't look so shithot up close but at least I can do way more trees now.

 

One of these days, when I'm free, I'll do a polygon limit on what I can do on my machine.

 

 

we're using windows 7 here. Where's the setting to increase virtual memory? Thanks for all the posts.

Link to comment
Share on other sites

wasteland giant

 

the virtual settings are in the following:

Control Panel\System and Security\System

click on the Advanced System Settings tab on the left column

Click on the Advanced tab

under Performance click on Settings

Click Advance tab again

and you should see Virtual Memory

 

there may be a quicker way to find it, but im still trying to navigate my way through Win7

Link to comment
Share on other sites

That works for me!!!! Everyone in the office had it on but me and I was wondering why some of my scenes would run out of memory on my computer and not theirs... By the way, to get to the System Properties faster, Press Windows and then Paus/Break key, it should do the trick on Win 7 I imagine.

Link to comment
Share on other sites

  • 2 weeks later...

Was this an animation or still ?

I found a while ago when creating the Final Gather map for an animation with lots of proxies 3dsmax would crash.

It seems it wasn't releasing the memory. I think the latest hotfix was meant to fix this.

 

cheers

Link to comment
Share on other sites

Have you cleaned your multi-mats? I run into the odd time when max decides it doesn't like one of the multi-mats that I am using with the onyx trees... so it is a material problem rather than the geometry. I just need to remove the problem proxy and re-insert it into the scene after checking that the multi-material has been cleaned.

 

I render ALOT of polys using proxies and MR... like 60 - 100 million +.

 

A link to some of my foliage tests to see how much I can jam into a scene on top of my models...

 

http://forums.cgarchitect.com/37505-grass-test-using-particle-flow-mr-6.html

 

I usually use around 60,000 grass proxies, a 100 - 200 trees (150,000 - 450,000 polys) and shrubbery. Maybe your trees are super high detail, over 1 million polys?

 

I am on 2010 with 8GB of ram.

Link to comment
Share on other sites

Thats an amazing image, and very insightfull thread, well done jinsley.

 

What do you mean by 'clean the Multi-Materials'?

not use them? or is it a naming issue?

 

I guess he means removing any materials from a mutlisub that aren't being used and nested mutlisubs.

I've found trees from xfrog will have 10 materials in multisub and only 3 or 4 are being used.

Link to comment
Share on other sites

Thats an amazing image, and very insightfull thread, well done jinsley.

 

What do you mean by 'clean the Multi-Materials'?

not use them? or is it a naming issue?

 

Exactly what Duncan said... remove any of the slots that aren't being used in your multi-sub... some xfrog trees are horrible, for messy multi-sub materials, but work great once you clean them up.

Link to comment
Share on other sites

ah cool, I thought maybe I couldnt use multi mats at all.

 

cheers

 

no, multi mats are a must with foliage and putting together your trees etc... sometimes they just get a little funky if you're not paying attention or sitting up all night trying to meet deadlines.

Link to comment
Share on other sites

...A lot of my files are split btw MR+vray ...

 

ouch, not fun sometimes when it comes to getting missing map and .dll messages... I have been trying to get dbr and a farm going in the office lately and the MR files with models merged or imported with VRay components always kill me trying to purge all of the VRay...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...