You can configure the memory (RAM) heap size as per your requirement for the Analyzer detail view server or Analyzer probe server using this procedure.
- Log on to the Analyzer detail view server or Analyzer probe server through an SSH client (like putty) as a root user.
- Stop the crond service and verify the status with these commands:
service crond stop service crond status
- Stop the megha service and verify the status with these commands:
/usr/local/megha/bin/megha-jetty.sh stop /usr/local/megha/bin/megha-jetty.sh status
- Navigate to the /usr/local/megha/conf directory.
- Create the app.java.configuration.properties file.
vi app.java.configuration.properties
- Change ownership and permission of the app.java.configuration.properties file.
chown megha:megha app.java.configuration.properties chmod 600 app.java.configuration.properties
- Open the app.java.configuration.properties file.
- Add the app.heap.size.in.mb property and define the heap size (in MB).
Minimum value: Greater than 0
Maximum value: Less than or equal to the subtraction of 0.5 GB from the total memory. For example, if the total memory is 8 GB, the maximum value can be 7.5 GB.
- Save the file.
- Start the megha service and verify the status with these commands:
/usr/local/megha/bin/megha-jetty.sh start /usr/local/megha/bin/megha-jetty.sh status
- Start the crond service and verify the status with these commands:
service crond start service crond status