clojure/data.xml — comment on commit e08334d18c0aa41d4581cf3ca628af9e189721ac
File: src/test/clojure/clojure/data/xml/test_parse.clj line 41
By amalloy:

And if you use a soft reference instead of a weak reference, my suggestion may have a 100% success rate: see the guarantees made at http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/ref/SoftReference.html