# TREEMAX System Variable
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).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_2027_en-US/detail/systemVariables/TREEMAX.html) · © Gstarsoft Co., Ltd.