Expand my Community achievements bar.

SOLVED

Configure no of processor when starting AEM instance

Avatar

Level 4

 

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.

-XX:ActiveProcessorCount worked.

 

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

 

Thank you.