Increasing the Java heap size (Out of Memory errors)

Problem

By default a heap size of 1024MB (1.7 and later) or 512MB (1.6 and earlier) is allocated to Experian Payments Gateway. This is sufficient for the majority of our customers.

If you regularly get out of memory errors, you may need to increase the memory allocation. Typically this is only required for extremely high-volume, high-usage installations.

Resolution

To change the heap size allocated to the Experian Payments Gateway Server service on Windows:

  1. Open Registry Editor (Start > Run > regedit) on the server.
  2. Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Experian Payments Gateway Server\Parameters.
    For versions older than 1.6, replace "Experian Payments Gateway" with "EigerPAY Gateway".
  3. Double-click the relevant JVM Option Number # parameter.
    The data setting is -Xmx##m
  4. Change the default value to the required value.
    For example, for 2GB, set this to -Xmx2048m, for 1GB set it to -Xmx1024m
  5. Restart the Experian Payments Gateway Server service.

To increase the memory of a client machine or a server run as an applicaiton:

  1. Edit launch.properties.
    This is in the properties folder within the Experian Payments Gateway client or server installation folder.
  2. Change the default value to the required value.
    For example, for 2GB, set this to -Xmx2048m, for 1GB set it to -Xmx1024m.
  3. Start the Client or Server.

You should exercise caution when editing Registry settings and application configuration files.

Applies to

Rate this article


If you cannot find the information you need on this visit, please call us on +44 (0)1788 554820 or email us.
Service status
View our electronic infrastructure dashboard for information on outages and planned maintenance.
 
Customer support
Login or register for customer support