Jump to content

Running out of memory while rendering?


Recommended Posts

Vectorworks freezes up while rendering and I get an error message saying Vectorworks is using 195 GB of memory. I've read about "memory leaks" and am wondering how to fix this? I am trying to create a final rendering. I've tried Custom Renderworks, Interior Final, etc.

 

If I cannot create final renderings VW is basically useless to me.

 

Mac is a 2022 Mac Studio with 64 GB of RAM, running Sonoma 14.6.1.

 

Vectorworks is 2024 Update 6

PICKLE DILLY-3-PURGED.vwx

  • Like 1
Link to comment

1) Have you restarted Vw & your Mac recently? Memory leaks are not something that we — the end user — can fix. Restarting your Mac right before rendering is a good practice to get into. 

 

2) Are you running any other applications while trying to render in Vw? Restart your Mac, and without any other applications running, open Vw, open only that one file, and start the rendering. 

 

3) When I opened your file it opened to a 3D perspective view on a Design Layer, and there is only one SLVP of a rendering (on the cover sheet A0.00). Were you trying to render full-screen on the Design Layer? If so, I would not do that -- that is asking for memory issues, even with 64GB RAM. Personally, I only do rendered views in SLVPs - never on a Design Layer.

Edited by rDesign
  • Like 1
Link to comment

Looking at your file, there are large portions of the model which could be created much more efficiently.

 

1) When having repeating elements (like the pickle ball courts, nets, fencing along the walkway, etc). -- use Symbols as much as possible. Each of the pickle ball courts is a group, the nets are each 4+ extrudes, etc. Symbols are much more efficient than Groups, memory-wise.

 

2) The fencing has been all ungrouped to fillets, extrudes, etc. Much more efficient to make repetitive panels as a symbol which are then duplicated.

 

3) Objects that have Fillets on them (like the 40 covers over the movable dividers, I don't know what they're called) have a history to them, and contain all of their creating objects  -- and are not efficient. Once you are happy with the fillet, convert the filleted object to a Generic Solid which will delete the history. Create a symbol of that and duplicate that around the room.

 

I think you get the idea. Once you've got the model as efficient as possible, run the Purge command and then you can assess your memory-leak issues.

 

My 2 cents.

Edited by rDesign
  • Like 2
Link to comment

I also tried to run this file.  There are elements causing the memory problems, I would follow @rDesigns advice.  There may be more issues, I just haven't delved into it too much.  But the fact that it hangs on "pre render" tells me that it is not to the rendering part yet, so the problem as of now is not with the rendering.  Typically if there are rendering issues, you will get bad outcomes or very long rendering times per chunk of the visible space.  ie, when you render glass with blurriness, it takes a long time to render that part of the scene because that particular area needs a lot of computing power.  

Look for repeatable elements in your scene, make symbols of them.  You should see a lot of improvement.

  • Like 1
Link to comment

@Todd W I let my computer chew on your model a little more since it wasn't needed over the weekend.

Incidentally, my computer is an old iMac from 2020 with 3.8 GHz 8-core Intel i7, 72 GB Ram and an AMD 5500 XT GB video card.

 

In just over 5 1/2 hours, it was able to render your original scene using Final Quality Renderworks.

It took forever due to the heavy geometry and reflective materials used on some items.  You can see a lot of reflections in the steel framing and such.

FR-5-38-screenwithactualgeometry.thumb.png.b7c10e59b7ec1f7654ee5821225df5ee.png

 

Using Custom Renderworks and changing your screen curtains to simple rectangles and applying a texture resulted in a render time of 3 hrs 16 minutes.  I threw in a black ground plane outside the building because I wanted to see the reflections in the entry doors better.

cR-3-16-screenwithsimpleplane.thumb.png.8fc3d4ac5353bdd128cdd3ebb38b655d.png

 

 

 

Using Custom Renerworks again and changing your screen curtains to simple rectangles with a Bump Map to simulate the curved curtains, the time was just under 2 hours to render, which really surprised me.

CR-1-52-screenwithsimpleplaneandbumpmap.thumb.png.24a7929c39c476a2167b67e508fbc6f9.png

 

I tried to render the same scene again with Final Renderworks, but my machine did run out of memory during that attempt with bumpmap materials being used.

 

Here's what the curtain with a bump map looks like all by itself.  It's not bad for a quick representation.

bumptest-CR-0-21.thumb.png.659b4091727f839b32b82c961f4f1a79.png

 

 

And here is a closeup of the bump map texture rendering in progress, which includes all the geometry of your scene.  If that look is important, using the texture trick might make your renderings 30% or so faster.

ScreenShot2024-09-08at14_39_00.thumb.png.3c987c7d0a376eec61371f1df91297ac.png

 

I think if you edit some of your material to not be reflective (like the structural steel and such) and go with some simpler render settings and viewport views, you should have not problem rendering this thing out much faster.  Reflections, caustics, and excessive light bounces will drive up your render time significantly.

 

 

  • Like 3
Link to comment

Thanks again all! An update: I re-worked all the repetitive elements, simplifying geometries and creating symbols for them as recommended. All this went really well. Then, I created viewports and sheets for the renderings, with sheet res at 300 DPI.

 

I purged the file and re-started everything before rendering. I was able to easily create some nice Fast Renderworks images, but Interior Final, Final Renderworks, and Custom Renderworks still get hung up and I get the memory full notice. I am going to try this on my PC and see if the same thing happens.

 

I also tried rendering a different file and still could not get the final rendering options to work. 

 

  • Like 3
Link to comment
3 minutes ago, Todd W said:

Thanks a lot Jeff! As you can see I did simplify the curtains and it did help. For the images below I used the Fast Renderworks and it took about 8 minutes to render. I will keep working on the final render options.

No problem.  Those renderings look great and I'm glad you were able to shave significant time!

Athletic facilities are supposed to have nice even lighting, which it looks like you are achieving.

  • Like 2
Link to comment

Did some more tinkering and got the renderings down to around a minute.  Here's some things I worked over on the file:

-Took a camera view instead of just the uncropped shot

-Changed the pickleball courts into symbols.  They have two sets of courts layered on top of one another.  I lifted the color ones up a bit.  I would recommend turning off all linework when rendering, it can cause issues.

-Your overhead lights have every cut line modeled in the glass, and the texture is set to emit light.  I replaced the glass with just a sweep, no faceting, and set the texture to not emit light.  

-turned off the blurriness options in your custom renderworks. 

-I was able to get back an approximation of your mesh curtains with reflectivity with these settings.  

Vectorworks2024_wUfiKz7GUb.jpg

  • Like 4
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...