News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Render Time vs. Maxing out RAM?

Started by Josh T., January 26, 2010, 04:20:20 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Josh T.

Can anyone tell me the relationship between Render time and RAM usage?  Now we have at least one TurboCAD 16 user rendering images using very high quality render settings that take ten hours while I have a complex model that maxes out the 2GB memory limit after just a couple of minutes if I try to render it with ACIS set to "quality" and the camera render properties merely set to quality/full (so I set ACIS to "draft" instead, to get it to work).

And it's been repeated here multiple times now that TC has a 2GB RAM usage limit no matter what operating system is being used (32 vs 64 bit).

So can a render take 10 hours without ever maxing out that 2GB limit?   And if so, how?  ???     

Josh T.
Josh T.
meatballrocketry.com
TC Pro 18.2 & Platinum 2016

CoasterGuy2

Not to hijack your thread, but I wanted to ask if everyone does their renders in real time in model space (where you'd be able to rotate, zoom in/out, select, etc) or in a new window where it would be just the view you are currently looking at.

I remember you could get a better (and probably more stable render) this way in AutoCAD.  I would gladly take that option at this point since I can't ever seem to get any render anymore without TC crashing.  It's very rare that I even get an out of memory message anymore.
Cameron Blair

Jeff_in_90620

Quote from: Josh T. on January 26, 2010, 04:20:20 AM
Can anyone tell me the relationship between Render time and RAM usage?...

I'd say the relationship is low.

Render time is dependent on the number of calculations that have to be made to generate the image.  Obviously, the size of the image is one part (and that will affect RAM usage).  The second consideration is the number of lights (less impact on RAM usage than on rendering time).  Third is the reflectivity and transmissivity of objects in the scene (also less impact on RAM, but a potentially huge impact on rendering time).

If you've got two reflective objects that cause ray traces to continually bounce off each other, that's a recipe for very long computation times.

Quote from: Josh T.
And it's been repeated here multiple times now that TC has a 2GB RAM usage limit no matter what operating system is being used (32 vs 64 bit).

My system has 2GB of physical memory.

My personal experience is that TC will blow up if there is less than 400-500 megs of physical memory available (according to Task Manager), and that is with 200-300 megs being used by other processes and applications, so TC is only using 1.2-1.3 GB.

I have learned to minimize the chances of this happening by making sure that each Paper space is set to Render for Printing only (TC makes the bad choice to calculate each Paper space even if you are working in Model space).

Also, rendering Model space in non-wireframe modes eats up progressively more and more memory that isn't released until you return to Wireframe mode, eventually causing a crash, too.  I often set a Paper space view to render in Quality mode and switch between Model and Paper spaces to do quick checks.  If I am only checking the effects of each light, this can be done without switching back to Model space.

Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

CoasterGuy2

I've been looking more and more at this situation and have finally concluded that I am just working with a file too big for TurboCAD to render.

While looking at my final assembly, I can bring everything in via X-Ref, and after having to do a reload trick in hidden mode to actually update the x-ref correctly (bends, fillets. shells don't come in correctly after being x-reffed a second time), TC is using 750 MB of RAM in wireframe mode.  While rendering in any mode beside wireframe, the amount of RAM TC uses increases to 1.5 GB before declining and eventually crashing.

This certainly can be due to the number of facets needed to render and I've been trying to reduce either the number of facets in my parts, or by removing them from the assembly if they are not in the current view I'm trying to create.  Both these processes are time consuming and frustrating to say the least.

My system has 2GB of ram, and I have most of my other programs and processes shut down while trying to render.  I'm using XP and from everything I've read, one can't really add more ram and it'll actually be beneficial.  Would more RAM or even a new video card actually improve my chances of rendering such a big model?
Cameron Blair

CoasterGuy2

Quote from: Jeffin90620 on January 26, 2010, 11:10:16 AM

Also, rendering Model space in non-wireframe modes eats up progressively more and more memory that isn't released until you return to Wireframe mode, eventually causing a crash, too.  I often set a Paper space view to render in Quality mode and switch between Model and Paper spaces to do quick checks.  If I am only checking the effects of each light, this can be done without switching back to Model space.



I've looked at this a lot too.  I see that switching to hidden mode and returning to wireframe does not release that memory (or at least to the amount of memory TC was originally using in wireframe mode).  It will return to a higher level, though not as high as hidden mode (though the next hidden render will eat more memory than the previous hidden render). In fact the only way I've been able to release the memory is to shut down TC completely.  If I close the file and open it again, in wireframe it will return to using the previously used higher amount of RAM.
Cameron Blair

Robert

If you have a 32 bit system you should be able to go to a maximum of 4Gb RAM and have a little over 3 Gb available (depends on how much GPU RAM you have). I don't know about XP, but if you have 64 bit versions of either Vista or Win 7, you can use more than 4 Gb- the amount depends on which flavor of the OS you have.

Josh T.

Quote from: Robert on March 02, 2010, 08:46:42 AM
If you have a 32 bit system you should be able to go to a maximum of 4Gb RAM and have a little over 3 Gb available (depends on how much GPU RAM you have). I don't know about XP, but if you have 64 bit versions of either Vista or Win 7, you can use more than 4 Gb- the amount depends on which flavor of the OS you have.

We've had this topic come up in various places without a genuine "official" answer, but so far everyone's experiences seem to be that TurboCAD will not use over the allotted 2GB limit in a 32-bit system, even if one changes the '3GB switch' in XP, or uses a 64-bit system.  The 2GB limit appears to be a hard-and-fast limit with no immediate workarounds; there are only little tricks here and there to try to keep the 2GB RAM limit in TurboCAD from maxing out (e.g., using viewports in Paper Space instead of rendering in Model Space, exploding ACIS solids to surfaces before rendering, using a lower quality ACIS setting under 'options', using a free RAM optimizer program before rendering, setting viewports to 'render for print only' then print to PDF, etc.)

Adding RAM may speed the rendering process up (it definitely did for me), and some of these tricks may help, but there seems to be a real limit that has no solution at this point.
Josh T.
meatballrocketry.com
TC Pro 18.2 & Platinum 2016

dj722000

The CAD system I use to use, it never took more then a few seconds to convert to HIDDEN LINE or to RENDER a drawing. I noticed in TC it takes it a while to switch on either one. And the drawings we use to make were pretty big for CAD. To convert to a HIDDEN LINE drawing, it was almost instaniouse while a RENDER was only a few seconds, 15 seconds at most and that was a pretty big file. That system was knowin for speed and if I am not mistaken, one high point they had it would only RENDER what was in view, not everything in the drawing itself, so if the object was rotated on its axis, it would keep it RENDERED and look for anything else that came into view then RENDER that, it was pretty quick. And this was on a system that was 266 MHz, with 512 RAM WIN 98.

So what ever TC has done, they need to seriously look into it. I think one of the problems is it RENDERS or HIDDEN LINE everything irregardless if it is in view or not, i.e. if a bolt is inside hidden from view, not visible to the eye, it just renders it, which can slow a system up for a very long time. Although we never did any transparency or mirrioring affects for the rendering, which could take a very long time, our system never supported that because its not needed for industrial use or at least not in our use. I meen come on, the user should not be spending more time for a work around then they are being a productive drafter.
Windows 7, TurboCad ver 15.2

Larry

Quote from: dj722000 on March 02, 2010, 03:15:43 PM
The CAD system I use to use, it never took more then a few seconds to convert to HIDDEN LINE or to RENDER a drawing. I noticed in TC it takes it a while to switch on either one. And the drawings we use to make were pretty big for CAD. To convert to a HIDDEN LINE drawing, it was almost instaniouse while a RENDER was only a few seconds, 15 seconds at most and that was a pretty big file. That system was knowin for speed and if I am not mistaken, one high point they had it would only RENDER what was in view, not everything in the drawing itself, so if the object was rotated on its axis, it would keep it RENDERED and look for anything else that came into view then RENDER that, it was pretty quick. And this was on a system that was 266 MHz, with 512 RAM WIN 98.

So what ever TC has done, they need to seriously look into it. I think one of the problems is it RENDERS or HIDDEN LINE everything irregardless if it is in view or not, i.e. if a bolt is inside hidden from view, not visible to the eye, it just renders it, which can slow a system up for a very long time. Although we never did any transparency or mirrioring affects for the rendering, which could take a very long time, our system never supported that because its not needed for industrial use or at least not in our use. I meen come on, the user should not be spending more time for a work around then they are being a productive drafter.

Further... there seem to be serious memory leaks (i.e. allocated memory is not recovered when a render is terminated)  in TC 16.2.54 - this on XP Pro SP3 32bit. This results in numerous hangs/crashes.

IMO, nothing the user can "legally" input should cause any Windows program to CTD. Not "banging" on TurboCad (a user since its Pink inception), but it seems that there ought to be some "attention paid to details".

Thanks...

Larry
TurboCad user since PS v1.2
v24.0.26.3 Pro Plat x64
WIN10 x64 w/16G Mem. nVidia GTX1080(s)

Jeff_in_90620

No argument, here.  TurboCAD will never supplant AutoCAD's installed base because its command line interface allows for faster object creating for adept users, but there are a lot more people who prefer to use the graphical tools to create and TurboCAD could be the preferred software for them.

Also, with its superior performance in creating photorealistic images, TurboCAD could be very useful in creating scenes and even props for the plethora of low-budget films that are going to be created now that HD Video recording gear is becoming more affordable, but if it's going to blow up when people get too creative, it won't be accepted.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)