We are using 1 GB as -Xmx value for our application, running on java 8. But found application is running slow since it was processing high number of messages. the Top -p pid