Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

Heap Memory issue - when performing the oak-run

Avatar

Level 2

HI,

I have the heap memory set for 2048M, in start.bat file, but when i perform the Oak-run, i am facing out of memory issue.

1767494_pastedImage_0.png

Please advice how to fix this issue

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

Can you try providing the -Xmx argument directly in the above java command above?

The one provided in .bat file is for AEM not for the oak-run. Kindly include in the above command and it should fix the issue.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi,

Can you try providing the -Xmx argument directly in the above java command above?

The one provided in .bat file is for AEM not for the oak-run. Kindly include in the above command and it should fix the issue.