If you get
"
Error occurred during initialization of VM
Could not researve enough space for object heap
",
it is probably because there is not enough heap
for you java application. You can try to use
"JAVA_OPT = -XmxAAAm -XmsBBBm" to limit the
heap size usage.