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

Dmitry Neverov <dmitry.neverov@xxxxxxxxx> wrote:
> Could you share these ideas? I would try to implement them.

I'm updating bug 312868 with my thoughts on the matter, its better
to archive them there than on the mailing list archives.

 
> On Fri, May 14, 2010 at 11:17 AM, Shawn Pearce <spearce@xxxxxxxxxxx> wrote:
> > 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.