Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I auto-close the JVM on a "out of memory" error?

djangofanFeb 3 2011 — edited Feb 4 2011
I think I saw a option somewhere that would allow closing the JVM when it has a Out Of Memory Error. Does anyone know this option?

This would allow the JVM to close, then the Windows Service layer would detect the service stopped and restart it automatically for me.

Thanks, I looked around and couldn't find the JVM option although I believe I saw it somewhere once.

Edited by: user10640242 on Feb 3, 2011 11:48 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 4 2011
Added on Feb 3 2011
13 comments
1,184 views