Thanks for the reply.
We do
NOT encounter a problem of
missing RAM, in fact during the compilation we
have 8gb available before starting the compilation.
we have verified that by raising the parameter value to 6gb (-Xmx6144m) the problem persists, that is, the compilation is too slow.
We would have the doubt that during the compilation operations,
NOT all the available
CPUs are used.
Is there any trace file of the compilation operation, which highlights which hardware resources are used?
Specifically, display the number of available CPUs
Runtime.getRuntime().availableProcessors()
declaration: module: java.base, package: java.lang, class: Runtime
docs.oracle.com