cancel
Showing results for 
Search instead for 
Did you mean: 

CMS out of memory

Former Member
0 Kudos

BOE seems to use only 4 GB , is there a way to increase this? We seem to have intermittent restart of CMS and it always fails...

Logs:

Database access error. Reason Lock wait timeout exceeded; try restarting transaction.

................

Retryable error returned from CMS database. Will retry the request 5 time(s).

.....

Successfully established all 14 connections to CMS system database.

CMS startup: completed!

After 4 hours.....

CMS is unstable and will shut down immediately. Reason: System is out of memory.

Env:

BOE XI 3.0

Linux OS

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi,

i found a SAP Note that has exact your error.

It says that you should increase the pagefile to the 1.5 x of the physical Memeory.

In the LINUX case i would recommend increase your swap partition to the 1.5 x of your physical memory.

BOE is a 32bit application, so it cannot allocate more than 4 GB RAM.

Regards

-Seb.

Former Member
0 Kudos

Seb,

The production box has large amounts of RAM(>40GB) and large amounts of swap space.

Would reducing numberOfObjectsInCache - under CMS reduce the amount of memory used by CMS drastically?

TIA,

JM

david_wilson1
Explorer
0 Kudos

JM,

Having the CMS consume 4GB of ram is very rare. You would need 10's of thousands of objects in the CMS.

Please run the following query in the Query Builder to return your object count and post back here:

SELECT count(SI_ID) from CI_INFOOBJECTS, CI_SYSTEMOBJECTS, CI_APPOBJECTS

The results will be a value of SI_AGGREGATE_COUNT SI_ID <number of objects>

If you don't have a lot of objects and the CMS is taking 4GB of memory then you may need to open a incident with support.

To answer your question, reducing the numberOfObjectsInCache would reduce the size on the CMS memory foot print, how much it reduces depends on the value you set. Be aware that setting numberOfObjectsInCache to low would impact system performance because the CMS would have to go out to the system database more often as opposed to just retrieving the object from memory.

david_wilson1
Explorer
0 Kudos

JM,

Having the CMS consume 4GB of ram is very rare. You would need 10's of thousands of objects in the CMS.

Please run the following query in the Query Builder to return your object count and post back here:

SELECT count(SI_ID) from CI_INFOOBJECTS , CI_SYSTEMOBJECTS, CI_APPOBJECTS

The results will be a value of SI_AGGREGATE_COUNT SI_ID <number of objects>

If you don't have a lot of objects and the CMS is taking 4GB of memory then you may need to open a incident with support.

To answer your question, reducing the numberOfObjectsInCache would reduce the size on the CMS memory foot print, how much it reduces depends on the value you set. Be aware that setting numberOfObjectsInCache to low would impact system performance because the CMS would have to go out to the system database more often as opposed to just retrieving the object from memory.