I have TomCat deployed on a Windows server for the purpose of hosting a Java application. I just modified TomCat within the properties tab such that it will try to restart automatically if Tomcat fails. How can I test this? I want to make TomCat fail so I can see if the automatic restart works properly.
One such way is to cause it to run out of memory. But I don't know how to do that. Is there another way, or would someone be able to explain how to make Tomcat run out of memory?