Hi,
to measure memory requirements of java programs, it is better use a tool like jvisualvm. The JVM process aquires memory as it needs according to its max heap and max permgen settings. I ran your little snippet on my machine with java -Xmx5M -jar clojure.jar, and while jvisualvm reported around 2M heap usage (like a bare clojure REPL), top showed a memory usage of about 25 Megabytes. The default max heapsize is, at least on my machine with a 32bit JVM, at around 128M, and lots of it will be allocated up front, regardless how much heap the running java programm needs. Erik --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---