# TREEMAX System Variable [GstarCAD 2026](Help%20System/GSTARCAD/2026/Index.md) → [System Variables](Help%20System/GSTARCAD/2026/System%20Variables/(System%20Variables).md) → [T](Help%20System/GSTARCAD/2026/System%20Variables/T/(T).md) ## Function Description: The TREEMAX system variable is used to limit regenerating drawing memory by limiting the number of nodes in the spatial index(oct-tree). | | | | --- | --- | | Type | Integer | | Saved in | Registry | | Initial value | 10000000 | --- [Original help](https://www.gstarcad.net/help/GstarCAD_2026_en-US/detail/systemVariables/TREEMAX.html) · © Gstarsoft Co., Ltd.