Fork me on GitHub

Hi! I'm starting a new project and I'm considering using Clojure, in docker-based microservices. What I'm worried about is, will the JVM and its high memory allocation be an issue in the beginning, when I'm planning to run on small/micro instances with not much RAM? I'm thinking that I'll not be able to put too many containers in the same instances, as every container will run a JVM. Any one has experiences with this? Does fine tuning the JVM mitigate the issue? Should I set a low memory limit, monitor and scale when needed?


I have been able to run a heavy clojure application in a docker container alongside a postgres container on a micro instance fine.


You can try different memory limits locally and load test if you need to of course. Might help color it in for you.