Skip to main content

Change Memory Allocation

The system memory used by the collector can be modified by editing the [collector install dir] /bin/fwd-daemon.vmoptions file.

To change the fraction of VM memory allocated to the collector, update -XX:MaxRAMPercentage to the desired percentage.

To fix the collector memory to an exact value, say 48 GB, add a line -Xmx48g and comment the -XX: MaxRAMPercentage line.

Following is an output example for a Forward Collector installed on a Mac laptop:

[/Applications/Forward Networks Collector/bin] $ cat fwd-daemon.vmoptions
# Enter one VM parameter per line
# For example, to adjust the maximum memory usage to 512 MB, uncomment the following line:
# -Xmx512m

# Disable the following XX property if you use Xmx and Xms options
-XX:MaxRAMPercentage=60.0

# Include options from the common vm-options file.
-include-options /Applications/Forward Networks Collector/bin/common.vmoptions