[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] java.lang.OutOfMemoryError when fetching big objects

On Fri, May 14, 2010 at 12:13 AM, Dmitry Neverov
<dmitry.neverov@xxxxxxxxx> wrote:
> I got java.lang.OutOfMemoryError when try to fetch object bigger than heap
> size.
> Is it necessary for jgit to load whole fetched object into memory?

Currently, yes.

> Are there any plans for change this behavior (maybe using some incremental
> approach)?

Yes.  We've talked about it, and have some ideas, but haven't had time
to write the code.  Its on my list of "things to do at some point in
the future", but I don't think we've even created a bug for it yet.

-- 
Shawn.