Enterprise Routing Module

Database memory usage

When loading a large Enterprise Routing database, you might have to increase the memory of the routing remote component. To do this, set the value of the –Xmx parameter in the java.vmargs file to a value larger than the size of the database. For example, in the case of loading entire United States database (size is approximately 1.94 GB), setting the value of –Xmx to 2048m would be sufficient. The location of the java.vmargs file is %install_home%\server\modules\routing.

Note: On Solaris 10 (SPARC) machines, you have to increase the memory of routing remote component by setting the value of –Xms parameter instead of the –Xmx parameter in the java.vmargs file.
If a user gets a timeout error while adding bigger data, the customer can control timeout through spectrum-advanced.properties file located at server/app/conf. For Example, If the user wants to add 10-minute waiting time before it gives an error, the entry in the file will be like spectrum.remote.override.timeout.productResourceRuntimeManager.createProductResource=600000.
Note: The user must to restart the server to ensure the property comes into effect.