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), and
The problem is likely in the MySQL's JDBC driver. Some retrieve the
entire result set from the database on statement execute while others
are more true to the notion of a remote database cursor.
The JDBC API has a workaround for this problem: Use
Statement.setFetchSize(int) to limit the number
On May 18, 2009, at 4:10 AM, Mark Addleman wrote:
The problem is likely in the MySQL's JDBC driver. Some retrieve the
entire result set from the database on statement execute while others
are more true to the notion of a remote database cursor.
The JDBC API has a workaround for this problem:
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
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), and visualvm refuses
to start:
2009-05-15 14:03:15.495
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
:subprotocol mysql
:subname //DSN