The DataCAD Developer Network (DDN) is an online resource for information and support for DCAL® (DataCAD Applications Language) developers as well as anyone interested in creating fonts, toolbars, hatch patterns, or linetypes for use in DataCAD.
#41392 by ORWoody
Thu Jan 29, 2009 9:38 pm
I have a macro that is composed of multiple large and somewhat similar bloated modules. Is there a strict line limit for modules? Each one has 8000 lines or so.
When I add a call at the same location in each of the modules, I begin getting a heap overflow message. Up until that single add, the modules all compile without a problem.
Would anyone be willing to look at one of the modules and see if the problem can be resolved or if I've hit a limit?
#41416 by rod_walker
Sat Jan 31, 2009 5:23 am
I would be willing to check out one of the modules. Highlight the problem area. I do not think you have hit a limit; but DCAL is an old compiler.
Regards
Rod Walker.

Apologies for delayed reply; but we have had successive days of 47 deg Celsius and air-con out.
#41461 by Jsosnowski
Tue Feb 03, 2009 9:02 am
If I understand correctly, you are failing during the compile process. Instead of attempting the compile as a single DOS operation, try it separately using DCC1 & DCC2 instead of DCC to compile units and join them in a single step. This has usually worked for me. You can stremaline the process by using batch files to manage the process.
#41490 by rod_walker
Wed Feb 04, 2009 1:04 am
I checked out one of Woody,s modules which had over a 110 procedures.
DCC1 crashed. Breaking the module into two separate modules solved the problem

Regards
Rod Walker
#41524 by Jsosnowski
Fri Feb 06, 2009 12:01 am
I'm not surprised. The compiler goes back to DOS and probably is limited in how it uses memory.

By the way it was -1C here in Cleveland, Ohio, USA today and my AC was out too!

Who is online

Users browsing this forum: No registered users and 7 guests

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for Architects Since 1984