If you know that you will never need to add areas beyond your current maximum area number while the database is online, you can trim the area array with the
-maxAreas server startup parameter. Trimming the area array saves memory within the server process. For a complete description of the
-maxAreas syntax, see
Maximumarea number (-maxAreas).
If you have a database with the following structure description file, trimming the area array with -maxAreas 2000 results in the allocation of a smaller area array:
The following figure shows the layout of areas array in memory for a database created from this structure file, and trimmed by including -maxAreas 2000 on the server startup.
If during the time your database is online, you need to add areas beyond the current maximum area number specified by -maxAreas, you must shutdown and restart your database. Your options are:
Shutdown your database and remove the
-maxAreas parameter from the startup command. This will allow the maximum area number, 32,000.