LUA Apache Tomcat Service (LUATomcat) in LiveUpdate Administrator 2.3.x indicates lack of Java heap memory available.
search cancel

LUA Apache Tomcat Service (LUATomcat) in LiveUpdate Administrator 2.3.x indicates lack of Java heap memory available.

book

Article ID: 164724

calendar_today

Updated On:

Products

Endpoint Protection

Issue/Introduction

LiveUpdate Administrator (LUA) 2.3.x cannot open the LUA console correctly or some scheduled tasks cannot be executed suddenly.

The lua-application.log or lua-application.log.<number> files shows "java.lang.OutOfMemoryError: Java heap space".

Is there any tuning to increase Java heap space?

Resolution

Tomcat is indicating a lack of Java heap memory available. To increase the size of the Java Heap, please do the following:

1. Open a command prompt window and navigate to the folder "<LUA installation folder>\tomcat\bin\".

2. Execute the following command:

tomcat8w.exe //ES//LUATomcat

Note: The tomcat<number>w.exe located in this folder will be tomcat8w.exe if you are running LiveUpdate Administrator 2.3.5 or later.  If you are running version 2.3.4 or earlier the file will be named tomcat7w.exe.
 

3. “LUA Apache Tomcat Properties” dialog appears.

4. Select the “Java” tab.

5. Change the memory and thread parameters to the following values:

Initial memory pool: 512 MB
Maximum memory pool: 1024 MB
Thread stack size: 512 KB

 

For example:
- The default “Java" tab has the following values:

Initial memory pool: 128 MB
Maximum memory pool: 512 MB
Thread stack size: 96 KB

 

- After adding the custom “JAVA Options”

Initial memory pool: 512 MB
Maximum memory pool: 1024 MB
Thread stack size: 512 KB


6. Click on the “OK” button.

7. Stop “LUA Apache Tomcat” service, wait 30 seconds then start “LUA Apache Tomcat” service.