DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

DesignCad V.4 "Out of memory" Error

Started by rasa, August 26, 2014, 07:20:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rasa

Hi Guys,

I realise that may be this query may be ancient history to some, but being well into retirement and as the saying goes,  " you cant teach an old dog new tricks" I'm hoping that someone can help me out.

Recently, whilst working in DesignCad V.4, I keep getting an "Out of Memory" error...!

Anyway to recap!

As a director in an electrical firm, I was required to carry out extensive design work in the form of electrical schematics and wiring diagrams.

I established my firm in 1975 and for those first tentative years, I persevered accomplishing any required documentation manually.

Towards the late 80's, I became aware of the advantages to be had by using a computer, not only in the CAD area, but in the preparation of quotations etc.

My first computer was an, 80286 which whilst painfully slow, was like a breath of fresh air, compared to the manual approach.

The CAD program I used was the DOS based program, DesignCad ver.4 I never had any problems with memory despite some of the material being fairly complex and the limited ability of the 80286 processor.

Over the years I migrated through the 80386, 80486, to the present day, high speed, high capacity computers.

DesignCad went through various revisions, the latest revision I have is vers.18, however I still use version 4, due to the later versions having been revised, with the emphasis on the ability to interpret other CAD formats, such as dxf. and dwg. Etc.

The later versions do not have the dexterity or simplicity of version 4, so I do my work in v4 and process it in v18.

Although I am now retired, I get requests from former clients to upgrade and re-issue their drawings.

Recently, I have been using a computer with 512Mb of ram, and the XP Pro operating system with no probs until the CPU went, due to a faulty cooling fan.

I have now acquired another machine, again with 512Mb ram, which I upgraded to, 2 GigaByte, XP Pro operating system, and massive amounts of hard disk space, and that is where I'm at now.

The "Out Of Memory" message I'm getting is not due to any physical memory problems.

It has been suggested to me that my problem may lie within the program, in that it is looking for extended, or expanded memory.

I've run CHECKDC and there is nothing in there, further, I attempted to check the AUTOEXEC & CONFIG files without success....!

I am not a computer expert, I am simply a user, never really understanding what goes on.

Any Ideas Guys,  ....?

Many thanks

Norm.

DrollTroll

Try using a DOS emulator like DosBox. This should let you set up a proper "Dos-like" environment for that old version of DesignCAD. You can configure how much EMS or XMS memory it has, and twiddle with AutoExec.bat and Config.sys to your heart's content. I haven't used one for DesignCAD in years, but I used to use one fairly regularly for old DOS-based games, and it worked great for those.
25 years with DesignCAD

rasa

Hi Dt,

Thanks for that, I've managed to download DOSBOX but I'm a bit anxious that I may lock myself out once I start writing Config.Sys and Autoexec.exe files.

Is their any chance of that occurring....!

Thank you again,
Norm.

Bob P

DosBox doesn't use an autoexec.bat or config.sys file.  Instead it uses a .conf file to create the environment.  Modify (and rename) the .conf file that is their sample.  This one works for later DC-DOS versions at least.  Modify the last autoexec lines to match the path of your DC exe file.  The video mode may also have to be changed for your earlier DC version.

You will start the program with a command like this:
c:\progs\dosbox\dosbox.exe -conf c:\progs\dosbox\dc.conf

The dc.conf file referenced above:

[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullresolution -- What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
# windowresolution -- Scale the window to this size IF the output device supports hardware scaling.
# output -- What to use for output: surface,overlay,opengl,openglnb,ddraw.
# autolock -- Mouse will automatically lock, if you click on the screen.
# sensitiviy -- Mouse sensitivity.
# waitonerror -- Wait before closing the console if dosbox has an error.
# priority -- Priority levels for dosbox: lowest,lower,normal,higher,highest.
#             Second entry behind the comma is for when dosbox is not focused/minimized.
# mapperfile -- File used to load/save the key/event mappings from.
# usescancodes -- Avoid usage of symkeys, might not work on all operating systems.

fullscreen=false
fulldouble=false
fullresolution=original
windowresolution=1200x900
#windowresolution=800x600
#output=surface
output=opengl
autolock=true
sensitivity=100
waitonerror=true
priority=highest
mapperfile=mapper.txt
usescancodes=true

[dosbox]# language: Select another language file.
#  machine: The type of machine tries to emulate.
#           Possible values: hercules, cga, tandy, pcjr, ega, vgaonly, svga_s3, svga_et3000, svga_et4000, svga_paradise, vesa_nolfb, vesa_oldvbe.
# captures: Directory where things like wave, midi, screenshot get captured.
#  memsize: Amount of memory DOSBox has in megabytes.
#             This value is best left at its default to avoid problems with some games,
#             though few games might require a higher value.
#             There is generally no speed advantage when raising this value.

language=
machine=svga_paradise
captures=capture
memsize=30

[render]
# frameskip -- How many frames dosbox skips before drawing one.
# aspect -- Do aspect correction, if your output method doesn't support scaling this can slow things down!.
# scaler -- Scaler used to enlarge/enhance low resolution modes.
#           Supported are none,normal2x,normal3x,advmame2x,advmame3x,advinterp2x,advinterp3x,tv2x,tv3x,rgb2x,rgb3x,scan2x,scan3x.

frameskip=0
aspect=false
scaler=none

[cpu]
#      core: CPU Core used in emulation. auto will switch to dynamic if available and appropriate.
#            Possible values: auto, dynamic, normal, simple.
#   cputype: CPU Type used in emulation. auto is the fastest choice.
#            Possible values: auto, 386, 386_slow, 486_slow, pentium_slow, 386_prefetch.
#    cycles: Amount of instructions DOSBox tries to emulate each millisecond.
#            Setting this value too high results in sound dropouts and lags.
#            Cycles can be set in 3 ways:
#              'auto'          tries to guess what a game needs.
#                              It usually works, but can fail for certain games.
#              'fixed #number' will set a fixed amount of cycles. This is what you usually need if 'auto' fails.
#                              (Example: fixed 4000).
#              'max'           will allocate as much cycles as your computer is able to handle.
#           
#            Possible values: auto, fixed, max.
#   cycleup: Amount of cycles to decrease/increase with keycombo.(CTRL-F11/CTRL-F12)
# cycledown: Setting it lower than 100 will be a percentage.


#core=normal
core=full
#cycles=300000
cycles=max
cycleup=5000
cycledown=20

[mixer]
# nosound -- Enable silent mode, sound is still emulated though.
# rate -- Mixer sample rate, setting any devices higher than this will
#         probably lower their sound quality.
# blocksize -- Mixer block size, larger blocks might help sound stuttering
#              but sound will also be more lagged.
# prebuffer -- How many milliseconds of data to keep on top of the blocksize.

nosound=true
rate=22050
blocksize=2048
prebuffer=10

[midi]
# mpu401      -- Type of MPU-401 to emulate: none, uart or intelligent.
# device      -- Device that will receive the MIDI data from MPU-401.
#                This can be default,alsa,oss,win32,coreaudio,none.
# config      -- Special configuration options for the device. In Windows put
#                the id of the device you want to use. See README for details.

mpu401=none
device=none
config=

[sblaster]
#  sbtype: Type of Soundblaster to emulate. gb is Gameblaster.
#          Possible values: sb1, sb2, sbpro1, sbpro2, sb16, gb, none.
#  sbbase: The IO address of the soundblaster.
#          Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
#     irq: The IRQ number of the soundblaster.
#          Possible values: 7, 5, 3, 9, 10, 11, 12.
#     dma: The DMA number of the soundblaster.
#          Possible values: 1, 5, 0, 3, 6, 7.
#    hdma: The High DMA number of the soundblaster.
#          Possible values: 1, 5, 0, 3, 6, 7.
# sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
# oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
#          Possible values: auto, cms, opl2, dualopl2, opl3, none.
#  oplemu: Provider for the OPL emulation. compat might provide better quality (see oplrate as well).
#          Possible values: default, compat, fast.
# oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
#          Possible values: 44100, 49716, 48000, 32000, 22050, 16000, 11025, 8000.

sbtype=none
sbbase=220
irq=7
dma=1
hdma=5
mixer=false
oplmode=auto
oplrate=22050

[gus]
# gus -- Enable the Gravis Ultrasound emulation.
# gusbase,irq1,irq2,dma1,dma2 -- The IO/IRQ/DMA addresses of the
#            Gravis Ultrasound. (Same IRQ's and DMA's are OK.)
# gusrate -- Sample rate of Ultrasound emulation.
# ultradir -- Path to Ultrasound directory.  In this directory
#             there should be a MIDI directory that contains
#             the patch files for GUS playback.  Patch sets used
#             with Timidity should work fine.

gus=false
gusrate=22050
gusbase=240
irq1=5
irq2=5
dma1=3
dma2=3
ultradir=C:\ULTRASND

mpu401=none
mididevice=default
midiconfig=

[speaker]
# pcspeaker -- Enable PC-Speaker emulation.
# pcrate -- Sample rate of the PC-Speaker sound generation.
# tandy -- Enable Tandy Sound System emulation (off,on,auto).
#          For auto Tandysound emulation is present only if machine is set to tandy.
# tandyrate -- Sample rate of the Tandy 3-Voice generation.
# disney -- Enable Disney Sound Source emulation.

pcspeaker=false
pcrate=22050
tandy=auto
tandyrate=22050
disney=true

[bios]
# joysticktype -- Type of joystick to emulate: none, 2axis, 4axis,
#                 fcs (Thrustmaster) ,ch (CH Flightstick).
#                 none disables joystick emulation.
#                 2axis is the default and supports two joysticks.

joysticktype=2axis

[serial]
# serial1-4 -- set type of device connected to com port.
#              Can be disabled, dummy, modem, directserial.
#              Additional parameters must be in the same line in the form of
#              parameter:value. Parameters for all types are irq, startbps, bytesize,
#              stopbits, parity (all optional).
#              for directserial: realport (required).
#              for modem: listenport (optional).
#              Example: serial1=modem listenport:5000

serial1=dummy
serial2=dummy
serial3=disabled
serial4=disabled

[dos]
# xms -- Enable XMS support.
# ems -- Enable EMS support.
# umb -- Enable UMB support (false,true,max).

xms=false
ems=true
umb=true

[ipx]
# ipx -- Enable ipx over UDP/IP emulation.

ipx=false

[autoexec]
# Lines in this section will be run at startup.
mount d D:\
mount h h:\
d:\dc\dc.exe
exit


Dr PR

rasa,

How large is the DesignCAD file you are working with?

As I recall, Microsoft claimed XP would work with 512K of RAM, but only barely. One gigabyte was thought to be the minimum for a fully operating stable system (4 Gbyte was the maximum).

On my XP Pro machine with 1 Gbyte RAM DesignCAD will crash with files that are 50-60 Mbytes in size. It isn't difficult to ceate files that large if you use large arrays, or if you create 3D extrusions using the default DesignCAD values.

Phil
DesignCAD user since 1987