KB Article #175832

How we can modify the amount of memory that that can be used by the JVM

Problem

-- -- How we can modify the amount of memory  that that can be used by the JVM (Java Virtual Machine)?

Resolution

-- The amount of memory that can be used by the JVM is specified in the Xms and Xmx parameters: 
                    Xms: specifies the initial memory allocation pool for a JVM,
                    Xmx: specifies the maximum memory allocation pool for a JVM,      
That means that the JVM will be started with Xms amount of memory and will be able to use a maximum of Xmx amount of memory
  
   Example:
java -Xmx128m -Xms256m: the jvm will start with 128MB of memory, and can use 256MB of memory.

-- Follow the steps below to modify these parameters in Electronic Signature:
    1- Stop Electronic Signature;
    2- Opent the file "profile.sh" (linux) or "profile.bat" (Win) located in <Electronic Signature>/bin;
   3- Modify the following line: set ES_JVM_PARAMS=-Xms128m -Xmx512m;
   4- reload the profile (profile.bat in windows or . ./profile.sh in linux);
   5- Restart the product;