Methods for Increasing Efficiency

The database-building process can require large amounts of time, memory, and disk space. However, there are several ways to reduce these requirements.

Managing Memory Under DOS

Building a database uses a lot of memory. Large projects benefit the most from use of the Source Browser, but under DOS their large size can cause BSCMAKE to run out of memory. There are several ways to run BSCMAKE under DOS that make use of virtual memory and extended memory. The commands to run these forms of BSCMAKE are described in “System Requirements for BSCMAKE”.

Making a Smaller Database

Smaller databases take less time to build, use up less space on disk, have a lower risk of causing BSCMAKE to run out of memory, and run faster in the browser. The following list gives some methods of making a smaller database:

Use BSCMAKE options to exclude information from the database. These options are described on topic .

Omit local symbols in one or more .SBR files when compiling or assembling.

If an object file does not contain information that you need for your current stage of debugging, omit its .SBR file when rebuilding the database.

Saving Build Time and Disk Space

Unreferenced definitions cause .SBR files to take up more disk space and cause BSCMAKE to run less efficiently. The SBRPACK utility removes unreferenced definitions from .SBR files. For more information, see “SBRPACK”.