Visualization
About built-in and 3rd party, classic and real-time rendering solutions, settings, workflows, etc.

Constantly receiving "not enough memory to render"

Anonymous
Not applicable
I have been experimenting with the lightworks rendering engine all day. I was able to get many renderings complete with many lamp objects on. I was using the sunobject, skyobject and many window lamps and general light sources. The renderings were completing at 400x650 resolution.
After changing a few settings I can not get one rendering done, even at the smallest size.


This is after i turned off the sky and sun object. I am using the built in sun and ambient light. I took off most lamps, with the exception of down lilghting occuring through the fixtures only.

I turned off reflection checkbox in the lightworks settings.

My lightsources are the sun, ambient and lamps. Turned the sun and ambient on after the sun and sky object were causing a serious delay in rendering. I am at the point where i am taking tiny pieces of the model with the marquee to view in 3d and try to render and im still being told i don't have enough memory. ??

I don't understand what is going on. I know there are many more variables in this dilemma. I am ready to provide any additional information for anyone who is willing to help.

Is the problem possibly the 3d video card setup or a problem within archicad itself.

Archicad 11
Windows XP
NVidia G-Force Go 7900 Gs
Dell Intel Core 2 (2.16 Ghz)
13 REPLIES 13
Anonymous
Not applicable
I have further interesting details on 'not enough memory to render' error:

First off, before each render, I've tried a complete system restart, stop every unneeded process (av included!), running only one session of ArchiCAD and nothing else....

I had completed some nice renderings a few months ago, saved the views, 3d settings, etc. These were the views I used to be able to photorender maybe 3 or 4 in a row before getting 'not enough memory' errors, even with MS Office stuff, Photoshop, and other ArchiCAD running.

Today, I cannot even get through ONE, with fresh restart, no other programs running, etc. What gives?

Maybe it's the fact I've been layering on more and more detail to the model, maybe its the fact that I've added some gigantic image files for textures... maybe its some sort of conspiracy?!?

But, the point of the post is this: after considering turning off furniture, or fixtures, or awesome trim details, I decided to look at what my Lightworks engine photorender would look like with all textures turned off. So, turn off textures in '3d Window Settings', off they go in live 3d window, launch Photorender, and voila.. full textured photoimage with no out of memory error.

The textures defined by lightworks settings for each material still give all my textures in the finish rendering, while the 3d window textures, which must be hogging all the resources, aren't even generated. I can run multiple different renderings in a row like this, no memory errors.

so.. try just turning off textures in 3d window if you're using Lightworks - I'm not sure if it affects the other engines
Palawat
Advocate
Very good tip, Ian.
Archicad 26, Windows 10, Corei7 3.4 GHz, 16 GB Ram.
https://www.indigofigs.com
https://www.facebook.com/indigofigs
Anonymous
Not applicable
I just bought the fastest computer I've ever owned, Apple 8-Core 3GHz Intel with 16GB of Ram. I still get the "not enough memory to render" error. I have found that if there is any imported 2D data from non-ArchiCAD sources. i.e. an imported AutoCAD dwg drawing, I get the error. If I delete the import, no error.
Dwight
Newcomer
This conversation threatens to turn into six blind men of Indostan describing an elephant.

http://hinduism.about.com/od/hinduismforkids/a/blindmen.htm

Let me be number six - the one holding the tail, since it is the most dangerous one if you've ever seen an elephant defecate. I feel the "out of memory" failure is erroneous - but does signal a common rendering problem.

Please join in with your own necromancy about this issue.

Some comments:

• Users often misuse the saved Archicad file size as indicated on disk to predict the project's rendering challenge. This is the fault of GDL efficiencies. For instance: an Archicad model containing one million identical bookcases is a tiny file until it is assembled in 3D where every polygon of the model must be visually established. You can never know the size of your model or its rendering challenge from the saved file size.

• While it is conceivable that in machines with minimal RAM, that a 3D file could be assembled to be so large that there might not be enough memory, Archicad's swap-to-disk routine can fill a hard drive with data related to the rendering process - the temporary file. You would hear this happening and it would take some time before the system ran out of disk space.

• Keeping some sort of process monitor open can teach you about how ell your compute manages its resources. For instance, My Mac G5 2x2 from four years ago, having 3.5 Gb of RAM NEVER accesses more than 1.8 Gb even when rendering complex scenes, and I have done many complex renderings with overlapping refracting elements and numerous light sources.

• Imaging textures in OpenGL DOES take more resources, so turning them off saves the computer some effort. If you want even faster renderings, minimize the 3D assembly time by using wireframe instead when starting a rendering. You might also consider reducing some of the other OpenGL qualities when doing a shaded view just for the sake of speed in mere 3D imaging. On the other hand, the OpenGL rendering aspect - distinct from processing the 3D model assembly aspect handled internally - should be handled by the graphics routines and RAM on your video card, leaving the foundation resources alone.

• My experience is that "out of memory" failures don't happen because of lacking computer resources, but rather, from corrupted elements. You work away happily and think all is well until you make an impossible slab or place a object with bad parameters. The computer then "has a snit" resolving a mobius strip-like slab opening and "VOOM" all the resources are consumed and you are "out of memory."

In earlier versions of Archicad, the dialog didn't offer to rationalize slab errors like it does now, and ignoring that warning when assembling the model is perilous for 3D. OpenGL has error tolerance that LightWorks doesn't, so a successful 3D view doesn't guarantee a rendering.

• Things can go wrong in files. This might seem like Geek Necromancy Voodoo [GNV], but sometimes I have fixed problems by copying the file to another volume under the belief that it will "rationalize" itself. I wear a black, pointy hat and repeatedly chant "No one is going to call ME an early adopter" while waiting for the copy to finish.

• Sometimes a corrupted situation is resolved by copying the entire 3D model into a new, blank file. While you might try this as an experiment, it is hardly a solution in complex projects with published layout views.

• Memory "leaks" do exist. I hear they are collecting in a big vat on a hill in Boston where you can smell molasses on hot summer days. If restarting your computer can solve the problem of getting a fresh start, that is great, but it is not my experience [limited to Macs.]

• Imported data CAN interfere with rendering since AutoCAD files can contain 3D data that is impossible to render - it looks irrational to the LightWorks engine.

• Always turn on the rendering report. It can help identify where the file went bad.
Dwight Atkinson