News:

When replying to a specific statement be sure to quote the previous post.

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.

Out of Memory w/ Render, but No Virtual Memory Used

Started by Josh T., October 10, 2009, 06:01:48 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Josh T.

I'm using TC Pro 11.2...

Problem summary for rendering this model assembly:

1) I *can* render using Quality "Preview" but I cannot save as JPEG (file not saved error msg).
2) All attempts to render using Quality "Full" yield about half a render before "out of memory" error.  The half-render result stops at precisely the same spot in the image no matter what I do to try to free-up RAM usage.  No variation in final incomplete render whatsoever.

I actually have 2 GB RAM on this "old" Windows XP Home, along with a 1GB graphics card upgrade, and I've tried various ways of trying to free up RAM space, including things such as adding the 3GB switch in the boot.ini file and changing virtual memory parameters, etc. The last thing I tried was downloading the software with SmartRAM utility from http://www.iobit.com/ as was suggested in the Bench Drill thread.

So I did a render with the SmartRAM on (with monitoring screen) to look at my memory usage:
-My CPU always maxes when rendering (this happens even with nonproblematic small renders).
-The Physical memory drops down to less than 100MB out of a max of 2045MB.
-The Free PageFile bar drops down somewhat.
-But here's the kicker... the Virtual Memory does not get used at all during this process (according to the SmartRAM screen, at least).  It stays at somewhere around 2000 out of 2047MB.

So I'm wondering...  With all my RAM upgrades and such, why in the world am I getting an "out of memory" error, and the rendering process is not using any of the Virtual memory??  Does anyone have any thoughts as to the problem here?   ???

Many thanks in advance.

Josh T.




[attachment deleted by admin]
Josh T.
meatballrocketry.com
TC Pro 18.2 & Platinum 2016

Don Cheke

Hi Josh,

Just make sure your virtual memory is set to max. This might help but it might not if you are still hitting the XP allotment amount of memory of ~2GB per application. TurboCAD can hit this wall quite easily and often requires readjusting how objects are drawn, which materials are used, etc. Selecting Draft ACIS as opposed to Quality is often beneficial, but can mean a drop in the required quality.

How big is your file. Can it be posted or emailed for someone to check out some of those parameters.

[attachment deleted by admin]
Don Cheke
My Blog: One Man's Meanderings

Dave C

Hi Josh,

Welcome to my world, I have run into this problem too many times.

TC is good but unfortunately does have its limitations.

Adding to Don's comments:

I find that building your model over as many layers as possible can help with rendering, also you can hide any parts that can't be seen from your chosen view by making the corresponding layer invisible.

After making layers invisible you would need to manually select the rest of the drawing on screen before hitting the render button.

As far as I am aware TC will still try to render invisible layers if you just hit the render button.

In the past I have even gone as far as deleting any part that can't be seen from a chosen view.

Regards

Dave
Dave C
TC Pro V14.2 - TC 21 Platinum 64 Bit Build 22.3
Intel i-4770K 3.5GHz
120GB ssd 2TB hd
16GB memory
64bit Windows 7 Pro

www.ipernity.com/fizzyfitz

Josh T.

Thanks for the suggestions, guys.  I'm going to do some fiddling around with the ACIS settings and see what happens.  Yeah, currently I have it set to Quality.  Unfortunately, after I read Don's post last night I did something dumb, inadvertently messing up the boot.ini file and couldn't boot windows.  I only just a few minutes ago fixed it by booting SLAX from a flash drive.  So I haven't had opportunity to mess with the file today.  So unfortunately I've lost most of my weekend TurboCAD modeling time messing with RAM issues and then this boo-boo.

I won't post the TCW file just yet (3.5 MB, and I'm using dialup right now).  I'll let you know how things go.  This Saturn I model is intended as a sample 3D graphic, but maybe I'll enter it in the TC Challenge next year.

At some point I'll be needing to figure out what to do about replacing the computer with something that is more compatible with the 3D work I'm doing in TurboCAD, and upgrade from TurboCAD 11 as well.  I suppose the computer upgrade should precede TC upgrade, don't you think?

And Dave, I have also been considering saving separate files for deleting components that aren't within view during render.  Thanks for the suggestion for selecting before rendering visible objects.
Josh T.
meatballrocketry.com
TC Pro 18.2 & Platinum 2016

Dave C

Quote from: Drumn4J on October 11, 2009, 01:02:41 PM

And Dave, I have also been considering saving separate files for deleting components that aren't within view during render.  Thanks for the suggestion for selecting before rendering visible objects.

Sorry, I should have mentioned that is always a good idea to keep multiple copies so that you can keep the original and alter the copies.

Regards

Dave
Dave C
TC Pro V14.2 - TC 21 Platinum 64 Bit Build 22.3
Intel i-4770K 3.5GHz
120GB ssd 2TB hd
16GB memory
64bit Windows 7 Pro

www.ipernity.com/fizzyfitz

SCSIraidGURU

TC 16.1 is 32-bit.  So you get 2 GB of RAM and virtual memory is limited to 3 GB. 

I asked them to make it 64-bit and multi-GPU rendering capable. 

Josh T.

Two (and a half) questions...

1) Does it make sense that my taskbar processes tab shows no more than about 1.5 million bytes used by TurboCAD during the render leading up to the "out of memory" error message?

1.5) Is it possible that I'm not actually maxing out the 2GB limit at this point?

2) Supposedly I'm enabling the 3GB switch (at least my syntax *should* be correct, etc, then reboot.)  But the render still stops at the same spot in the image above--about halfway through.  Can TurboCAD take advantage of the 3GB switch; is there something more I need to do other than modify the boot.ini file?

Thanks again,

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

Dave C

Quote from: Drumn4J on October 12, 2009, 09:51:15 AM
2) Supposedly I'm enabling the 3GB switch (at least my syntax *should* be correct, etc, then reboot.)  But the render still stops at the same spot in the image above--about halfway through.  Can TurboCAD take advantage of the 3GB switch; is there something more I need to do other than modify the boot.ini file?

Sorry but I have to answer your question with a question.

I'm curious.
What is the 3GB switch?

Regards

Dave

Dave C
TC Pro V14.2 - TC 21 Platinum 64 Bit Build 22.3
Intel i-4770K 3.5GHz
120GB ssd 2TB hd
16GB memory
64bit Windows 7 Pro

www.ipernity.com/fizzyfitz

Don Cheke

#8
Quote from: Troubled on October 12, 2009, 09:59:57 AM
Quote from: Drumn4J on October 12, 2009, 09:51:15 AM
2) Supposedly I'm enabling the 3GB switch (at least my syntax *should* be correct, etc, then reboot.)  But the render still stops at the same spot in the image above--about halfway through.  Can TurboCAD take advantage of the 3GB switch; is there something more I need to do other than modify the boot.ini file?

Sorry but I have to answer your question with a question.

I'm curious.
What is the 3GB switch?

Regards

Dave



Check this out, but be warned that there exist many warnings about engaging the switch. http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=9729516&linkID=9240697

I have never done it but that is just my own lack of understanding about operating systems.
Don Cheke
My Blog: One Man's Meanderings

SCSIraidGURU

/3GB switch is for applications that are written to support them.   It allows computers with 4GB of RAM to allow applications written to support 32-bit 3GB of RAM to use it.  You can add the switch to the boot.ini file and see if it works.  For most applications, it will not.   Unless, you have 4GB of RAM, it will not even turn on support.   32-bit Windows requires 1GB for system. 

Dave C



Check this out, but be warned that there exist many warnings about engaging the switch. http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&id=9729516&linkID=9240697

I have never done it but that is just my own lack of understanding about operating systems.
[/quote]

I'm with you on that one Don.
Just had a quick look at that link.

"If it aint broke, don't fix it" springs to mind after reading that.

Regards

Dave
Dave C
TC Pro V14.2 - TC 21 Platinum 64 Bit Build 22.3
Intel i-4770K 3.5GHz
120GB ssd 2TB hd
16GB memory
64bit Windows 7 Pro

www.ipernity.com/fizzyfitz

SCSIraidGURU

/3GB switch will not affect any applications that don't support it.   I have not seen it cause issues in all the years MS has had it. 

DTTurbocad

Is there any way we could see how the file?  If you don't want to post it publicly perhaps you could just email it to me privately?

SCSIraidGURU

#13
boot.ini

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=Alwaysoff /fastdetect /3GB

I would say the better solution than /3GB switch for TurboCAD would be writing it in 64-bit to use 16GB of RAM, SMP/Multi-threading across four CPUs for 2D Rendering, and Multi-threading across four GPUs for 3D Rendering.   You can leave the screens in 32-bit and build 64-bit threads for all post processing and rendering in 3D.  

I am a senior network engineer with 25 years experience building highend CAD and AV workstations and networks. 



Dave C

Quote from: SCSIraidGURU on October 12, 2009, 02:00:58 PM
I would say the better solution than /3GB switch for TurboCAD would be writing it in 64-bit to use 16GB of RAM, SMP/Multi-threading across four CPUs for 2D Rendering, and Multi-threading across four GPUs for 3D Rendering.   You can leave the screens in 32-bit and build 64-bit threads for all post processing and rendering in 3D.  

That would be fine if you have a 64 bit machine.
Most people only have 32 bit machines.
Dave C
TC Pro V14.2 - TC 21 Platinum 64 Bit Build 22.3
Intel i-4770K 3.5GHz
120GB ssd 2TB hd
16GB memory
64bit Windows 7 Pro

www.ipernity.com/fizzyfitz

SCSIraidGURU

#15
Most CAD workstations are now 64-bit.   Go to local stores and see how many computers are 64-bit.   Going to 64-bit is not expensive and worth it for CAD and AV work.  

Decent PCIe based board for quad core CPU: $80-$120
Intel quad core 2 2.83Ghz: $215
8GB of RAM: $200-$300
ATI 4870x2 graphics adapter: $300
PC Power and Cooling 750W power supply: $100



triplex

Yep - you can now select 32 or 64 bit Cad versions or some pick-up on installation if it is 32/64 bit auto.

It is the old world = 32 bit when they are already speaking of the "new generation" 128 bits coming up.

Read the Tech pages - MS is already gearing for it = looks like the CAD is for a time before MS and forcing them to deliver more computing power OS's.

32 bit - what's that ? = XT computer - what is that for most people nowadays. People looks glazed if you tell them even about a 286/386/486 computer.

Sorry to say - 32 bit is goiing for the dump yard and it will happen like an earthquake.

Josh T.

Quote from: Dave Taylor on October 12, 2009, 01:42:46 PM
Is there any way we could see how the file?  If you don't want to post it publicly perhaps you could just email it to me privately?


I don't know if that's necessary at this point, but thank you for the offer; I've gotten some usable test renders using "Full" Quality Rendering but with "Draft" Faceter properties in ACIS.  That looks much better so far than "Preview" Quality Renders at "Quality" Faceter properties.  Dave, if you still would like to see the file for your own knowledge, I can do that--I just have to do that from another internet connection.

I ran into a different annoying issue today, however (that I figured out).  Every time I did a tweak to an image wrap (or no tweak, but hit 'okay'), TC would hang for several minutes as it was coming out of Properties mode.  It turns out that I had selected most items and created an object in the drafting pallet that I had used toward a new image wrap.  Apparently the resulting object stays connected to the original part and (I assume) tries to update every time I would go into the materal properties (or at least 3D properties).  It took me several hours to figure out what the problem was.  After I deleted the drafting objects from the Drafting Pallet the problem was fixed, thank God.

I wish I understood the technology side of things a little better (re: 32 bit vs. 64, etc.).  I'm learning here and there, but I guess I'm not perfectly clear how much the 64 bit hardware will help out 32 bit TurboCAD.  I see the word "CAD" mentioned here and there, but does that include TurboCAD?

Thanks for all the input so far.

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

Dave C

Quote from: triplex on October 14, 2009, 07:37:34 PM
Sorry to say - 32 bit is going for the dump yard and it will happen like an earthquake.

Okay point taken!!

So I have to give up on my spectrum 128 and start saving the pennies.

Regards

Dave
Dave C
TC Pro V14.2 - TC 21 Platinum 64 Bit Build 22.3
Intel i-4770K 3.5GHz
120GB ssd 2TB hd
16GB memory
64bit Windows 7 Pro

www.ipernity.com/fizzyfitz

SCSIraidGURU

CAD is a generic term.   It covers all 2D and 3D design applications like TurboCAD and AutoCAD.   

32-bit is a type of application or operating system.  It can handle 2^32 bits of RAM in its 32-bit address structure or 4GB total space.  This included all the hardware addressing for your computer's hardware: video cards, controllers, etc.   Usually, you get 3.0-3.2 GB of usable RAM.   In the early days, 2GB limit for applications was set because you really did not need more.  Most applications use under 200 MB of RAM and a small paging space.   

audio/video and professional CAD came along.   TIFF files from 30 MP cameras that could be 30GB in size.   AutoCAD drawings that were over GBs in size.   You needed a way to address more RAM.   So they came up with 64-bit operating systems and applications.   Unix was first.   Linux next.  Then, Microsoft Windows.

2^64-bit =
18,446,744,073,709,600,000 bits
2,305,843,009,213,690,000 bytes
2,097,152 TB

This is RAM that can be allocated by a 64-bit operating system

You do have some limits.
Most 64-bit apps can only address 16GB of RAM, Photoshop CS4 + a huge paging file.   

You can open 40GB TIFF files!

In 32-bit, you can access 2GB maybe 3GB per application.  XP and Vista 32-bit keep 1GB of RAM. 

My current workstation is listed below.  It was designed for CAD and Adobe.  My next build will have 24GB of RAM.   I can run Photoshop CS4 x64, Lightroom 2.3 x64, TurboCAD, Sony Vegas Movie Studio (faster than realtime DVD encoding). 

I can encode and burn a 2 hour DVD session in 92 minutes in Sony Vegas Movie Studio.  Vista x64 Ultimate installs in 16 minutes. 

The benefit of 64-bit and alot of RAM is you can run everything at one time with no performance lag.   32-bit applications run in their own memory space.  You can spawn them in multiples.   

Lview 32-bit in XP 32-bit = 96 pictures in separate spawns.
Lview 32-bit in 64-bit XP or Vista = 892 pictures in separate spawns

The limitations of 32-bit are gone.  You don't run out of RAM before paging file. 

supermicro X7DWA-N motherboard
Dual Intel E5430 quad core 2.66 GHz 1333 MHz FSB Xeons
16 GB FB-DIMM DDR667 Ecc Reg
LSI Logic MegaRAID 8708EM2 with 128 MB cache SAS RAID controller, PCIe x8

Hot Spare: 1 x Seagate Savvio SAS 146GB 10.6K
RAID 1: 2 x Seagate Savvio SAS 146GB 10.6K

Sapphire HD 4850x2 2GB PCIe x16 video card

Sony DRX-830U USB2 DVD burner

Viewsonic VX2235WM 22" LCD monitor
On-board sound
Harman / Kardon AVR 347 HDMI 1080p/24 (connected to Audio and Video adapter, TV, Cable Box, VCR/DVD player)

Okidata B4100 Laser Printer

Cooler Master Stacker 810
PC Power and Cooling Turbo-Cool 1kw-SR 1000W power supply

2 x 20A@120V double pole Independent circuit
Tripp Lite 2400W Line Conditioner for computer: Workstation 
Tripp Lite 2400W Line Conditioner for computer: Monitor, printers, Firewire drives, USB

Wireless Router
DLink DGL-4300

Rounded cables and fans on all devices from Sidewindercomputers.com












bytes of RAM




Josh T.

Thanks for that info on 64 vs. 32 bit systems...   I take it you can plug-n-play a 32-bit program in a 64-bit system?  Or is there some tweaking that must be done?

Thanks again,

Josh T.

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

SCSIraidGURU

A true 32-bit program will work in 64-bit.  You can't use a older 16-bit/32-bit program in 64-bit.   You also need to get 64-bit compatible anti-virus program for it.   

Most hardware sold today are 64-bit.   Many consumer boards can support 8GB of RAM.   Workstation grade boards from Supermicro and Tyan can use up to 144GB.  The new Supermicro board I am looking can support 24GB (6 x 4GB) triple channel RAM @ CPU speed on 55xx series Xeons.   You can use 32-bit hardware on 64-bit.  I usually recommend only 64-bit hardware for performance increases. 

If you play older games, they make not work.  If its a production computer with new software, you will be fine.   RAM is cheap.  It is worth going 64-bit. 

ApiAye

                 Can you give the best compatible anti-virus program for it.,? I know a lot of anti-virus but I am not really sure what anti-virus I will use.,Can you suggest one,?

_________________
Stereolithography

Kent

#23
Quote from: SCSIraidGURU on October 12, 2009, 08:52:29 AM
TC 16.1 is 32-bit.  So you get 2 GB of RAM and virtual memory is limited to 3 GB.  

I just want to be clear about this point above, because you move on to talk extensively about the virtues of a 64bit OS (with more ram)(and applications).
My test I did on two separate machines (one 32 bit and one 64 bit) yesterday showed no difference when I ran out of memory.
Since TC16.2 is 32-bit, you don't get any more available ram or virtual memory on a 64 bit machine?

Thank you,
Kent