Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The -Xmx and –Xms settings can be set for a particular Fiorano component as part of the JVM_PARAMS runtime parameters attributes as illustrated in Figure 1. Multiple JVM runtime parameters can be added and separated with a space as a delimiter. The Heap Size setting should be set in the following format: –Xmx[value][[optional]mem_char]. By default, all specified values are measured in bytes. You can append the letter `k' or `K' to the value to indicate kilobytes, `m' or `M' to indicate megabytes, and `g' or `G' to indicate gigabytes. This attribute is a common attribute for all service components.

Image RemovedImage Added
Figure 1: Setting the JVM _PARAMS attributes of a Component Instance

...

  1. Run the Netbeans Profiler Calibration
  2. Configure the Netbeans profiler
    • The Profiler task should be to analyzing memory usage
    • It is recommended that the Profiler is setup on a different machine than the machine on which the Fiorano Peer Server is installed, because profiling in itself is a CPU-intensive, memory consuming task.
    • Netbeans provides the runtime arguments to be added to the external application on launch. Copy the parameters as specified and as required into a text editor.
  3. Configure the Fiorano component runtime parameters. Add the copied runtime arguments from step 2 (c) above to the service component JVM_PARAMS runtime argument as shown in figure 2
    Image Removed
    Image Added
    Figure 2: Adding the profiler settings to the JVM_PARAMS

  4. Launch the component / application. Note: the component will not start until the Profiler is attached to the Java process.
  5. Attach the Netbeans Profiler. The profiler should start collecting the statistics on heap memory usage together with the garbage collection statistics. Switching to VM telemetry view is needed.

...

Adaptavist ThemeBuilder EngineAtlassian Confluence