Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

aem6author server stopping.

Avatar

Level 1

I am running aem6author server in t2.small instance in AWS. For some reason, even in idle state it is using maximum CPU and Memory and at one point stopping the aem6server service. On checking /var/log/messages I could see " Out of memory: Kill process 22883 (java) score 897 or sacrifice child " 

Could someone assist me in fixing this issue?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

the processes in this AWS instance tried to consume more memory than available. Given, that a t2.small has 2 GB of RAM, this is rather small. For a developer system I would recommend to get something with 4G, and for production systems at least 8G (better 16G).

kind regards,
Jörg

View solution in original post

2 Replies

Avatar

Employee

What are your start options for the jvm?

Are you using the start script or a custom command to start AEM?

How much memory does the instance have that your are running AEM on?

How much free memory do you have?

Avatar

Correct answer by
Employee Advisor

Hi,

the processes in this AWS instance tried to consume more memory than available. Given, that a t2.small has 2 GB of RAM, this is rather small. For a developer system I would recommend to get something with 4G, and for production systems at least 8G (better 16G).

kind regards,
Jörg