Hi
Does any one know how to set no of processor while starting AEM instance.??
Any command or configuration available.??
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
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.
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.
Views
Replies
Total Likes