Hi,
1. First of all, check your program whether it has any memory leaks. If you can share the piece of code we can identify memory leaks.
2. Use -server option instead of -hotspot
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.