Deployment Guide

Installing vFoglight 71
vFoglight Settings
Editing the foglight.config File
The foglight.config file contains parameters for port settings, virtual memory, command
line options, and server federation. You can edit the file using a text editor. Values
within quotation marks can be edited.
Setting Memory Parameters for the Server
If you are running vFoglight Management Server by running fms.exe, you can configure
the Java Virtual Machine’s minimum and maximum parameters for the server in the
<vfoglight_home>\config\foglight.config file.
If you are starting vFoglight using the
run.[bat|sh]
command, the JVM heap memory
parameters set in the <vfoglight_home>\config\foglight.config file do not take effect.
Use
-X
options to pass the memory parameters straight to the VM.
If your installation supports a large number (100s) of agents, you can assign Java heap
memory sizes using the minimum (
-Xms
) and maximum (
-Xmx
) options. For example,
assigning 2 GB of memory can be set in the foglight.config file as follows:
foglight.vm.option0 = “-Xms2048M”;
foglight.vm.option1 = “-Xmx2048M”;
Ensure that you uncomment these lines in the file.
You can set up to 100 VM options.
Note The
-Xms
and
-Xmx
options are different for 32-bit and 64-bit JVMs.
Note On a 32-bit JVM, the -Xms and -Xmx do not necessarily have to be the same size.
However, the -Xmx should not exceed certain limits as determined by the System
Administrator.
Process Heap Use
If the VM generates errors relating to a failure to allocate native resources or to
exhaustion of process address space, you must increase the native process heap size.
Errors appear as a Java VM internal error message or a detail message associated with
an out-of-memory error. Messages with the relevant errors indicate that the problem is
process heap exhaustion.