Planning to use IBM eXtremeMemory

By configuring eXtremeMemory, you can store objects in native memory instead of on the Java™ heap. When you configure eXtremeMemory, you can either allow the default amount of memory to be used, or you can calculate the amount of memory that you want to dedicate to eXtremeMemory.

Before you begin

About this task

By default, eXtremeMemory uses 25% of the total memory on the system. You can change this default with the maxXMSize property, which specifies the number of megabytes to dedicate for use by eXtremeMemory.

Procedure

Optional: Plan the appropriate maxXMSize property value to use. This value sets the maximum amount of memory, in megabytes, that is used by the server for eXtremeMemory.
  1. In your existing configuration, determine the size per entry. Run the xscmd -c showMapSizes command to determine this size.
  2. Calculate the maxXMSize value. To get maximum total size of entries (maximum_total_size), multiply the size_per_entry * maximum_number_of_entries. Use no more than 60% of maxXMSize to account for metadata processing. Multiply maximum_total_size* 1.65 to get the maxXMSize value.

What to do next