Tips for reducing memory usage
Hi all,
I’m trying to run a couple of Kotlin microservers on an Amazon Lightsail server, and I’m running into the problem that even one application uses up a lot of the limited RAM. The server has 1GB of RAM, and when I run both applications, usually within 24 hours they chew up all the RAM.
I’m looking for any tips people have for:
Modifying my Kotlin code to reduce memory usage
Options to reduce the memory usage of the JVMs
Any other advice
I’ve thought about either trying to find a JDK...