Java Virtual Machine (JVM) settings

The default maximum JVM heap size is 256MB. When Sybase Search is installed on multiple servers for indexing and querying large number of documents, it requires additional memory. In such cases, set the JVM maximum heap size option to its maximum value to accommodate any memory setting changes.

Table 3-47: JVM options

JVM option

Description

-Xms

Minimum or initial heap size

-Xmx

Maximum heap size

The default setting for the maximum heap size is -Xmx256m. To allocate 2GB memory to the Sybase Search container running on a machine that has 4GB of memory, update the relevant container start-up script to -Xmx2048m.

In most cases, you can leave the minimum heap size set through the JVM option -Xms unchanged. If you know that your installation requires a lot of memory and if cache sizes are large and the maximum amount of memory has been allocated, then you can increase the minimum or incremental heap size to -Xms64m or -Xms128m.