> Source: [sk164378](https://support.checkpoint.com/results/sk/sk164378)

# sk164378 - CloudGuard Controller memory issues

| Property | Value |
|----------|-------|
| Solution ID | sk164378 |
| Date Created | 2019-12-31 |
| Last Modified | 2025-12-18 |
| Technical Level | General |
| Products | Cloud Firewall |
| Versions | R81 (EOS), R81.10 (EOS), R81.20, R82 |

## Symptoms

- * CloudGuard Controller is unresponsive.
* CloudGuard Controller generates core dumps.

## Cause

CloudGuard Controller runs with a default maximum allowed memory.

On large Cloud environments this default maximum memory might not be enough, therefor causing unresponsiveness or core dumps of the process.

## Solution

This problem was fixed.  

The fix will automatically increase the maximum allowed memory, according to the configuration in CloudGuard Controller configuration file.  

`# CMS process heap size configuration`  
`increaseRateXmx=1g` dictates how much to increase after a crash  
`maximumXmx=50%` dictates the upper limit on which the memory will increase automatically  
`currentXmx=1g` dictates the current maximum allowed memory for CloudGuard Controller  

The fix will increase the currentXmx automatically upon an out-of-memory crash.  
If instructed by Check Point, or if needed to update the maximum allowed memory manually, it can be done via CloudGuard Controller configuration file:  
On a Security Management Server:  
$FWDIR/conf/vsec.conf  

On a Multi-Domain Server:  
$MDSDIR/conf/vsec.conf  

Known Limitation:  
In MDS-HA, the vsec.conf is controlled by the MDS member on which the "Global Domain" is active, and therefore the automatic increase will not occur on the member with the stand-by Global Domain, and it is needed to update $MDSDIR/conf/vsec.conf in the MDS member with the active Global Domain.  

The fix is included in:

* [Check Point Quantum R82](https://support.checkpoint.com/results/sk/sk181127) and above
* [Jumbo Hotfix Accumulator for R81.20](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.20/Default.htm) starting from Take 54
* [Jumbo Hotfix Accumulator for R81.10](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.10/Default.htm) starting from [AutoUpdate package Take 25](https://support.checkpoint.com/results/sk/sk181842)

If you choose not to upgrade, Check Point can supply a **Hotfix** . [](https://www.checkpoint.com/support-services/contact-support/)

A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.   
For faster resolution and verification please collect [CPinfo](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk92739) files from the Security Management and Security Gateways involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk168597).

After installing this Take, after an out-of-memory event, the CloudGuard Controller will automatically restart with increased memory settings, and the "CloudGuard IaaS" log with the Description: "CloudGuard Controller is restarting with new memory settings" will be sent. (*PMTR-91756*)

**For lower versions:**

1. Backup *$VSECDIR/bin/vsec_controller_start* .  

2. Edit *$VSECDIR/bin/vsec_controller_start* and increase the processes maximum allowed memory by increasing the value of the *-Xmx* parameter.   
   For example if the value is *-Xmx512m* , change it to *-Xmx1024m* or higher.
   * The *-Xmx* argument supports values in k or m or g.
   * The *-Xmx* argument specifies the maximum memory allocation pool for a Java virtual machine (JVM)
   * If *-Xmx* does not exists in the file, add it as additional argument to the *runJavaProcess* command.  

3. Restart the CloudController process with  
   *# vsec stop;vsec start*
4. Note: This manual editing does not survive upgrade. Post upgrade this manual change need to be done again.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
