PDA

View Full Version : Memory Issues?


Piflik
12-31-2009, 12:15 PM
Hi there

I am currently trying to render a really quite simple Flow, but I always run into Memory issues with MRay, althought that is more or less impossible...the number of particles is never more than a couple of thousands...and the amount of Memory used (as visible in the Render Status Window)was never higher than 250MB...

Here's a screen of the Flow...

http://www.piflik.de/stuff/Flow.JPG

The script operator is to randomly assign MatIDs to the particles that are inherited by the children...originally posted by Galagast here (http://www.orbaz.com/forum/viewtopic.php?t=381) ...

The only Render Effect I use is a Glare shader....

First I thought the Scene was corrupt, so I rebuilt the complete Flow, but that didn't change a thing...

Any Ideas?

scrimski
12-31-2009, 12:19 PM
Tried caching the Particle Flow?

Piflik
12-31-2009, 12:33 PM
Nah...not yet...will do now...

Just tried rendering it with Scanline...stopped at the exact same frame (Frame 33; 2680 Faces; Memory Used: P: 239,4M; V: 237,2M), although it didn't ctd but just freeze instead...

I also tried rendering it without the Script Op, just in case that could cause the problem, but it didn't change a thing...

...I have rendered Flows with orders of magnitude higher Particle Counts before...

Piflik
12-31-2009, 12:55 PM
Tried cashing...crashed at the exact same frame...

Bobo
12-31-2009, 03:21 PM
Tried cashing...crashed at the exact same frame...

Do you have any idea how many polygons are created on that frame? (#particles * shape faces)? If the resulting render mesh is getting big, switch the Render Operator to "Multiple Meshes".
If that is not the issue, let me know...

Piflik
12-31-2009, 03:31 PM
There are some particles created (about 15 + Trails; don't know exactly how many trail particles...) but they are really simple (Shape: Sphere; not even Shape Instance...)...nothing my machine should be unable to handle...

...anyway...I rebuilt it again, and it seems to work now...although I left one type of explosions out (the Type03 in the attached Flow with the secondary explosions...)...maybe these were the issue, maybe not...on my first rebuilt, I just started a new Scene without restarting/resetting Max, so if there was any error in my initial scene it might have been inherited...

When the render is finished, I'll reactivate the explosions and try again...if it fails again, I at least know where to look, if not then I assume there was an error in my previous scenes...

CGTalk Moderation
12-31-2009, 03:31 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.