Say I run 2 java processes in a machine, do they share JVM or they have their own separate JVM. I remember setting something like export JVM_OPTS="-Xms64m -Xmx1024m"
then which JVM is this for?
They have their own separate JVM.
If you export JVM_OPTS, the variable affects all JVMs reading that value.
If you want to share JVM among different computations you must use multithreading.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With