CentraSite Documentation : CentraSite Administrator’s Guide : Basic Operations : Configuring CentraSite : Configuring CentraSite to Use Terracotta BigMemory
Configuring CentraSite to Use Terracotta BigMemory
Terracotta BigMemory allows you to use vast amounts of off-heap cache memory for the storage of application data. By significantly reducing the dependency on disk-based processing, applications that use BigMemory can run with huge speed increases. In CentraSite, Terracotta BigMemory can be used in web applications (CentraSite Control, importers, and so on) that reside in Software AG Runtime and in Eclipse/Software AG Designer environments and client applications.
To configure CentraSite to use BigMemory
1. For Eclipse/Software AG Designer environments and client applications, specify the Terracotta BigMemory license file. (Web applications in Software AG Runtime use internal mechanisms to locate the license file.) The license file can be placed in any directory, but Eclipse/Software AG Designer or the client application must be started with the following Java property:
-Dcom.tc.productkey.path=full_path_to_license_file
2. In a command line, go to the <CentraSiteInstallDir>/bin directory, and do the following:
a. Execute the script centrasite_setenv.
b. Execute this command:
java -jar CentraSiteCacheConfiguration.jar CentraSite_URL  administrator_ID Password SET maxMemoryOffHeap size unit
where unit can be k or K (kilobytes), m or M (megabytes), g or G (gigabytes), or t or T (terabytes).
For example, the command for setting a BigMemory cache of 20 gigabytes with an administrator account INTERNAL\Admin and password AdminPW would be:
java -jar CentraSiteCacheConfiguration.jar http://localhost:53305/CentraSite/CentraSite/ INTERNAL\Admin AdminPW SET maxMemoryOffHeap 20G
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback