webMethods 10.2 | Integration Server Administrator's Guide | Configuring Ehcache on Integration Server | Configuring a BigMemory Cache
 
Configuring a BigMemory Cache
 
Allocating Direct Memory Space to Integration Server
Considerations for Configuring BigMemoryCache
Perform the following general steps to create a BigMemory cache. A BigMemory cache occupies both on-heap and off-heap memory. (For this reason, it is sometimes referred to as an off-heap cache.) When you configure a BigMemory cache, you specify the number of elements that you want the Integration Server to maintain on-heap. You also specify how much off-heap memory the cache can use. A BigMemory cache is fast and can be very large. The off-heap portion of the cache is not subject to JVM garbage collection. For more information about BigMemory caches, see BigMemory .
To create a cache that uses BigMemory, perform the following general steps:
Step
Description
1
Verify that the Integration Server is equipped with a license to use BigMemory and check how much BigMemory the license authorizes. For procedures, see Installing, Viewing, and Changing the Terracotta License.
2
If you have not done so already, allocate direct memory to Integration Server using the procedure in Allocating Direct Memory Space to Integration Server .
3
4
Decide how much memory you need for the on-heap portion of the cache and adjust the Java heap size if necessary. For information about changing the heap size used by Integration Server, see Changing the JVM Heap Size Used by Integration Server .
5
If the cache manager to which you want to add the cache does not already exist, create it. For information about creating a cache manager, see Creating a Cache Manager.
6
Create the cache using the procedure in Creating a Cache. When you create the cache, be sure to do the following:
*In the Maximum Elements in Memory field, specify the number of elements that you want to maintain in on-heap memory. (To avoid performance issues, always set Maximum Elements in Memory to a value greater than 100 elements.)
*Enable Overflow to Off-Heap and, in the Max Off-Heap field, specify the amount of off-heap memory that you want to allocate to this cache.
7
To make the cache available for use, enable the cache as described in Enabling a Cache.

Copyright © 2017-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release