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

A thought: what about doing the processing, then allocating a ton of memory until you get an OOM error. Catch the error and THEN assert the weak reference is collected. Still incorrect in a technical sense, but with a much lower false-positive rate, perhaps.