2013

Table Of Contents
ate for 2D drawings and makes more efficient use of memory without
loss of performance
NOTE You cannot use TREEDEPTH transparently.
See also:
Work with Layer and Spatial Indexes
TREEMAX
Limits memory consumption during drawing regeneration by limiting the
number of nodes in the spatial index (oct-tree).
IntegerType:
RegistrySaved in:
10000000Initial value:
By imposing a fixed limit with TREEMAX, you can load drawings created on
systems with more memory than your system and with a larger
TREEDEPTH
(page 1519) than your system can handle. These drawings, if left unchecked,
have an oct-tree large enough to eventually consume more memory than is
available to your computer. TREEMAX also provides a safeguard against
experimentation with inappropriately high
TREEDEPTH (page 1519) values.
The initial default for TREEMAX is 10000000 (10 million), a value high enough
to effectively disable TREEMAX as a control for
TREEDEPTH (page 1519). The
value to which you should set TREEMAX depends on your system's available
RAM. You get about 15,000 oct-tree nodes per megabyte of RAM.
If you want an oct-tree to use up to, but no more than, 2 megabytes of RAM,
set TREEMAX to 30000 (2 x 15,000). If the program runs out of memory
allocating oct-tree nodes, restart, set TREEMAX to a smaller number, and try
loading the drawing again.
The program might occasionally run into the limit you set with TREEMAX.
Follow the resulting prompt instructions. Your ability to increase TREEMAX
depends on your computer's available memory.
See also:
Work with Layer and Spatial Indexes
1520 | Chapter 4 System Variables