2012

Table Of Contents
Turns on spatial indexing. An integer of up to five digits
is valid. The first three digits refer to model space, and the
remaining two digits refer to paper space.
>0
Treats model space objects as 2D (Z coordinates are ig-
nored), as is always the case with paper space objects.
<0
Such a setting is appropriate for 2D drawings and makes
more efficient use of memory without loss of performance
NOTE You cannot use TREEDEPTH transparently.
TREEMAX
Quick Reference
See also:
Work with Layer and Spatial Indexes
IntegerType:
RegistrySaved in:
10000000Initial value:
Limits memory consumption during drawing regeneration by limiting the
number of nodes in the spatial index (oct-tree).
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
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 values.
The initial default for TREEMAX is 10000000 (10 million), a value high enough
to effectively disable TREEMAX as a control for TREEDEPTH. 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.
TREEMAX | 2587