Luminus isn't doing anything bad here, and 180MB is actually pretty small for a clojure heap.
I hit the limits of my laptop's 8GB of memory recently while running a number of repls simultaneously, with heaps over 700MB*4 or so. The simplest win for me was to enable the G1 collector by default (will be default eventually) in all my java processes via the flag: '-XX:+UseG1GC'. The g1 collector is much more aggressive with freeing unused memory back to the OS than the default collector, which will be relevant to you if that's why your heap bigger than expected. If you're curious about the actual memory profile of your app, jvisualvm is a handy and free tool that's distributed with an oracle JDK or available as a separate download. On Thu, Jan 2, 2014 at 2:11 PM, gvim <gvi...@gmail.com> wrote: > I just downloaded Luminus and setup a basic project. On OS X Mountain > Lion/Oracle JDK 1.7 Activity Monitor shows memory usage as: > > - java: 180Mb > - main: 171Mb > > Is this typical for a Clojure web app or is Luminus kitchen sink in > design? I'm new to the JVM so, for all I know, these figures may be normal. > > gvim > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- You received this message because you are subscribed to the Google > Groups "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.