I have a RMIServer which reads a XML file during the startup after
registering with the rmi registry.When the XML file is too huge I get
the java.lang.OutOf MemoryError.But after this error is thrown the java
process is not exiting.I am using 1.1.8 JRE to startup the RMIServer.
What should I do now?I know that the OutOfMemoryErro r cannot be
handled by try/catch block. My 2 concerns are
1)How shall I exit this process
2)Why not the process is not exiting itself when there is an
OutOfMemoryErro r
registering with the rmi registry.When the XML file is too huge I get
the java.lang.OutOf MemoryError.But after this error is thrown the java
process is not exiting.I am using 1.1.8 JRE to startup the RMIServer.
What should I do now?I know that the OutOfMemoryErro r cannot be
handled by try/catch block. My 2 concerns are
1)How shall I exit this process
2)Why not the process is not exiting itself when there is an
OutOfMemoryErro r