Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Configure no of processor when starting AEM instance

Avatar

Level 3

 

Hi

Does any one know how to set no of processor while starting AEM instance.??

Any command or configuration available.??

Thanks

 

 

 

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee

Would you be able to tell the use case?

There is some advance Runtime Java parameters e.g. XX:ActiveProcessorCount that can override the number of CPUs that the VM can use.

Please look at the official Java Documentation - https://docs.oracle.com/en/java/javase/11/tools/java.html#GUID-3B1CE181-CD30-4178-9602-230B800D4FAE

Please note depending on the version of java this option may or may not be available.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Would you be able to tell the use case?

There is some advance Runtime Java parameters e.g. XX:ActiveProcessorCount that can override the number of CPUs that the VM can use.

Please look at the official Java Documentation - https://docs.oracle.com/en/java/javase/11/tools/java.html#GUID-3B1CE181-CD30-4178-9602-230B800D4FAE

Please note depending on the version of java this option may or may not be available.

Avatar

Level 3

-XX:ActiveProcessorCount worked.

 

We wanted to match different environment configs in local machine too. That was the use case.

 

Thank you.