[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [jgit-dev] java.lang.OutOfMemoryError when fetching big objects
- From: "Shawn O. Pearce" <spearce@xxxxxxxxxxx>
- Date: Fri, 14 May 2010 08:24:01 -0700
- Delivered-to: email@example.com
- User-agent: Mutt/1.5.17+20080114 (2008-01-14)
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.