<s>[INST] Here are the problems I am having with my server:

* A memory leak on the Java heap
* All the server connections are being refused, and the server is crashing
* The java application is throwing an OutOfMemoryError
* The server is running slowly
* The server is experiencing intermittent connectivity issues

I am using a Tomcat server and a Spring Boot application

My current JVM arguments are: 
"-Xms1024m -Xmx2048m -XX:NewRatio=2 -XX:MaxPermSize=512m"

What changes would you recommend?[/INST]