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?
#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.
#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 37 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