I wrote some simple utilities for measuring time and memory usage of Clojure code, and running Clojure code within preset time and memory limits. The methods used for handling memory are a bit hacky, but they seem to work OK for my current purposes. Example snippets and code are posted over at the Google group for now, and if there’s enough interest, maybe this will eventually find its way into clojure.contrib.
Time/Memory Limiting/Instrumenting Clojure code
Published in Clojure