JVM
JVM argument -verbose:class helps debug classloader. With this option , you can see the classes being loaded by the application.
Use -Xss<N><m|g> argument to specify the stack size for the JVM. If the default JVM stack size is too small , you may get java.lang.StackOverflowError from applications deep recursion. For example you can specify 128 mb of stack space by -Xss128m
ClassLoader.findClass() can throws ClassNotFoundException if the jvm process does not have read permissions for the jar/class file , even if it is in classpath.
Use -Xss<N><m|g> argument to specify the stack size for the JVM. If the default JVM stack size is too small , you may get java.lang.StackOverflowError from applications deep recursion. For example you can specify 128 mb of stack space by -Xss128m
ClassLoader.findClass() can throws ClassNotFoundException if the jvm process does not have read permissions for the jar/class file , even if it is in classpath.
Comments
Post a Comment