Do you reuse objects from one transaction in subsequent transactions?
If not, what happens if you close the EM and get a new one at the end
of every tx?

-Patrick

On Nov 5, 2007 10:46 AM, Marc Siegel <[EMAIL PROTECTED]> wrote:
> > > The strange thing is, I ran my application in a profiler (YourKit),
> > > and no memory is being leaked. Heap usage had just fallen to 28MB
> > > after garbage collection when the crash occurs.
> >
> > Hmm. That is odd.
> >
> > Are you running with the OpenJPA enhancer? Are you periodically
> > flushing your transactions (or are your transactions short-lived)?
>
> To answer your questions
>   - Yes, I am running the opanjpa enhancer at build-time
>   - No, I am not flushing transactions, but Yes, they are short lived
> and commit at conclusion.
>
> -Marc
>



-- 
Patrick Linskey
202 669 5907

Reply via email to