Skip to content

Instantly share code, notes, and snippets.

@honza
Last active September 24, 2015 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save honza/bdaa08241e2a0fef0b32 to your computer and use it in GitHub Desktop.
Save honza/bdaa08241e2a0fef0b32 to your computer and use it in GitHub Desktop.
Clojure and memory usage in development

Developing in Clojure seems to require tons of RAM. I'm currently working on a small HTTP service: 200 LOC, minimal dependencies. I'm using lein ring server-headless to run a development server, and I'm using Emacs and the CIDER repl. This spins up 4 java processes on my machine, 2 for the server and 2 for CIDER.

That's almost 3GB of RAM. If you're also running a VM in virtualbox or VMware, your computer is gonna have a bad time.

VMware Fusion is using only 200MB of RAM. No idea how that's possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment