java.lang.OutOfMemoryError: Java heap space

2009-09-14 Thread Jason Berk
I have an xml clob and account in a DB. I need to select the xml and bind it with XML Beans. This works fine for the first 30,000 or so accounts, but eventually I get ava.lang.OutOfMemoryError: Java heap space This is the line that is blowing up: MemberStatementDocument doc =

RE: java.lang.OutOfMemoryError: Java heap space

2009-09-14 Thread Jason Berk
FYI: the xml is 1MB is size and is different for each account. Jason -Original Message- From: Jason Berk [mailto:jb...@purdueefcu.com] Sent: Monday, September 14, 2009 4:16 PM To: user@xmlbeans.apache.org Subject: java.lang.OutOfMemoryError: Java heap space I have an xml clob

Re: java.lang.OutOfMemoryError: Java heap space

2009-09-14 Thread Jacob Danner
Hmm, are you putting 30K of xml into memory? or only parsing the results as they are needed? In other words, are there references left around that is causing the heap to grow? -jacobd On Mon, Sep 14, 2009 at 1:16 PM, Jason Berk jb...@purdueefcu.com wrote: I have an xml clob and account in a DB.

RE: java.lang.OutOfMemoryError: Java heap space

2009-09-14 Thread Jason Berk
From: Jacob Danner [mailto:jacob.dan...@gmail.com] Sent: Monday, September 14, 2009 4:27 PM To: user@xmlbeans.apache.org Subject: Re: java.lang.OutOfMemoryError: Java heap space Hmm, are you putting 30K of xml into memory? or only parsing the results