Configure no of processor when starting AEM instance | Community
Skip to main content
Level 3
January 4, 2023
Solved

Configure no of processor when starting AEM instance

  • January 4, 2023
  • 1 reply
  • 891 views

 

Hi

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

Any command or configuration available.??

Thanks

 

 

 

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Priyanku_Dwivedi

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.

1 reply

Priyanku_DwivediAdobe EmployeeAccepted solution
Adobe Employee
January 4, 2023

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.

Level 3
January 4, 2023

-XX:ActiveProcessorCount worked.

 

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

 

Thank you.