Problems with http-agent

2009-09-13 Thread Ian Eure
I'm having quite a time getting http-agent from contrib to work. I'm using Clojure 1.0.0 and the clojure-1.0-compat branch of clojure- contrib. 1. I can't get the body of any request: user= (use 'clojure.contrib.http.agent) nil user= (let [agent (http-agent http://google.com;)]

Re: OutOfMemoryError with clojure.contrib.sql and large result sets

2009-05-19 Thread Ian Eure
On May 15, 2009, at 3:34 PM, Stephen C. Gilardi wrote: On May 15, 2009, at 6:14 PM, Ian Eure wrote: I'm not having any luck at all. I tried visualvm, but it seems that it doesn't support memory profiling unless you're running JDK 6. I switched my default version (I'm on OS X here

Re: OutOfMemoryError with clojure.contrib.sql and large result sets

2009-05-15 Thread Ian Eure
On May 14, 2009, at 7:54 PM, Stephen C. Gilardi wrote: On May 14, 2009, at 7:13 PM, Ian Eure wrote: I'm trying to process mid/large result sets with Clojure, and not having any success. (ns foo (:require [clojure.contrib.sql :as sql])) (def *db* {:classname com.mysql.jdbc.Driver