LACK_OF_RAM shutdown means your application consumed more memory than the limit defined in your configuration file, and Virtus Cloud forcibly stopped it to protect both your application and the stability of other workloads on the same infrastructure. This is not a bug in the platform — it’s a safety mechanism that prevents runaway memory consumption from affecting neighboring containers. Once you understand why the limit was exceeded, you can either increase the allocation or optimize your application’s memory footprint.
When Does It Occur?
You’ll see the following message in your application logs immediately before the process is terminated:Why Does It Occur?
This error occurs when your application’s actual memory usage exceeds the value set in theMEMORY field of your virtuscloud.app or virtuscloud.config file. Common causes include:
- Your application is handling more concurrent users or events than it was originally sized for.
- A memory leak is slowly accumulating allocated objects that are never garbage collected.
- You recently added features or dependencies that have a significantly higher memory footprint.
- The original
MEMORYvalue was set too conservatively for your workload.
How to Fix It
Open your configuration file
Navigate to the File Manager in the Virtus Cloud dashboard and open your
virtuscloud.app or virtuscloud.config file.Locate the MEMORY field
Find the line that sets your memory allocation. It looks like this:The value is in megabytes (MB).
virtuscloud.app
Increase the MEMORY value
Raise the value to give your application more headroom. As a starting point, increase the current value by 50%. For example:If your application is handling a larger workload, consider a more significant increase. Round up to the nearest 256 MB for clean allocation boundaries.
virtuscloud.app
Save and redeploy
Save the configuration file and trigger a new deployment from the dashboard. The updated memory limit takes effect immediately after the application restarts.
Upgrading Your Plan
If you’re already using the maximum RAM your current plan allows, the only path forward is to upgrade to a higher tier. Visit the Virtus Cloud pricing page to compare available plans.The platform supports RAM allocations up to 32 GB per application. If your workload genuinely requires more than 32 GB, contact the support team to discuss custom configurations.
MEMORY value in your configuration file to reflect the new allocation, then redeploy your application.
If you continue to experience
LACK_OF_RAM shutdowns after increasing your memory allocation, contact the Virtus Cloud support team for assistance diagnosing the issue.