Re: ibatis 3 memory leak

2010-01-18 Thread Dave Rafkind
be almost no difference between using one > session or multiple. And no, I would not open multiple as in your second > example. > > As for the serialization error, that might be a bug if LoadPair wasn't > serializable. > > Clinton > > > On Mon, Jan 18, 2010 at 8:2

Re: ibatis 3 memory leak

2010-01-18 Thread Dave Rafkind
he SqlSession. > > If the memory isn't being released at the end of the session, that's a > different story... but otherwise, this is normal behavior. > > Clinton > > > On Thu, Jan 14, 2010 at 11:20 AM, Dave Rafkind wrote: > >> Thanks for the reply. What do you me

Re: ibatis 3 memory leak

2010-01-14 Thread Dave Rafkind
? On Thu, Jan 14, 2010 at 1:02 PM, Clinton Begin wrote: > If it uses nested result maps or nested selects, I'm afraid you're out > of luck. You'll need to reduce the query results, or flatten out the > results. > > Clinton > > On 2010-01-14, Dave Rafkind wrote: &

ibatis 3 memory leak

2010-01-14 Thread Dave Rafkind
Hi ibatis list, I'm new to ibatis so perhaps this is a noob question. I'm using Ibatis 3 (ibatis-3-core-3.0.0.216.jar) with a somewhat complicated schema (plenty of circular links etc). I'm doing something like this: List ids = session.selectList("getAll"); for (id : ids) { MyObject o = sessio