Even with Matt's suggested GC settings, keyword creation still leaks permgen:
(def kwseq (map (comp keyword str) (iterate inc 0))) #'user/kwseq user=> (domany 10000000 kwseq) #<#<OutOfMemoryError java.lang.OutOfMemoryError: PermGen space> To top it off, the Java process continues to use 20-30% CPU when supposedly idle after this message, and typing (keyword "zoob") at the REPL makes it hang. The same thing happens with symbols. It doesn't with normal strings. -- 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