CCA: How to Properly Utilize Memory Usage

Document created by A_H Employee on Jan 29, 2015
Version 1Show Document
  • View in full screen mode

By default, the CCA Server has allocated 2 gigs of memory.  Regardless of how much memory is installed, CCA won't utilize until certain changes are made.  To do this:

  1. Stop the CCA Server service
  2. Navigate to \CCA Server\bin\ and modify the service.bat file in a plain text editor
  3. Scroll down to the end of the file and you will see
  • set PR_STDERROR="%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=C:\Program Files\CA\CCA Server\tomcat\temp;-XX:PermSize=64m;-XX:MaxPermSize=192m" --JvmMs 1024 --JvmMx 2048
  • Our focus will be on --JvmMx 2048
  • The 2048 represents 2gigs of allocated memory
  1. Modify the 2048 to a represented a higher amount of memory allocation
    ex: 4gigs would be 4096
  2. Save and close the file
  3. Open a command prompt and navigate to the same location (\CCA Server\bin\)
  4. run the following command to uninstall the existing CCA Server service
    service uninstall
  5. Next, run the following command to install the newly updated service
    service install
  6. Once the CCA Server service is started, that will have 4gigs of memory allocated to the CCA Server

 

The same concept can be applied to the CCA Grid Nodes.  Again, by default, it has 2 gigs of memory allocated to that service.  To modify the Grid Node Servers, please follow these steps:

  1. Stop the CCA Grid Node service
  2. Navigate to \CCA Grid Node\bin\ and modify the service.bat file in a plain text editor
  3. Scroll down to the end of the file and you will see
  • set PR_STDERROR="%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=C:\Program Files\CA\CCA Gird Node\tomcat\temp;-XX:PermSize=64m;-XX:MaxPermSize=192m" --JvmMs 1024 --JvmMx 2048
  • Our focus will be on --JvmMx 2048
  • The 2048 represents 2gigs of allocated memory
  1. Modify the 2048 to a represented a higher amount of memory allocation
    ex: 4gigs would be 4096
  2. Save and close the file
  3. Open a command prompt and navigate to the same location (\CCA Grid Node\bin\)
  4. run the following command to uninstall the existing CCA Grid Node service
    service uninstall
  5. Next, run the following command to install the newly updated service
    service install
  6. Once the CCA Grid Node service is started, that will have 4gigs of memory allocated to the CCA Grid Node

Attachments

    Outcomes