On Thu, May 12, 2011 at 10:12 AM, Ron Aaron <[email protected]> wrote:

> Here's the  backtrace:
>
> Starting program: /home/ron/proj/fossil/fossil rebuild -R rw
>  14.4% complete...
> Breakpoint 2, fossil_malloc (n=58019464) at ./bld/main_.c:410
> 410               fossil_panic("out of memory");
> (gdb) bt
> #0  fossil_malloc (n=58019464) at ./bld/main_.c:410
>

Do you really have 58MB artifacts in your repository, or is the size
parameter going goofy on us here?

It appears that malloc() really is failing to allocate 58MB?  How much
memory is the process using at the point where it fails?


> #1  0x0804c5b3 in blobReallocStatic (pBlob=0xbffff26c, newSize=58019464)
> at ./bld/blob_.c:171
> #2  0x0804cb20 in blob_resize (pBlob=0xbffff26c, newSize=58019463) at
> ./bld/blob_.c:348
> #3  0x08058acd in blob_delta_apply (pOriginal=0xbffff398,
> pDelta=0xbffff2dc, pTarget=0xbffff2c8) at ./bld/deltacmd_.c:90
> #4  0x08054dd6 in content_get (rid=89, pBlob=0xbffff398) at
> ./bld/content_.c:281
> #5  0x08055866 in content_deltify (rid=85, srcid=89, force=0) at
> ./bld/content_.c:774
> #6  0x0806b7e5 in add_mlink (pid=0, pParent=0x838fc28, cid=90,
> pChild=0x838fb80) at ./bld/manifest_.c:1311
> #7  0x0806be23 in manifest_crosslink (rid=90, pContent=0xbffff55c) at
> ./bld/manifest_.c:1559
> #8  0x08071219 in rebuild_step (rid=90, size=488, pBase=0xbffff5ec) at
> ./bld/rebuild_.c:256
> #9  0x080715f3 in rebuild_db (randomize=0, doOut=1, doClustering=0) at
> ./bld/rebuild_.c:390
> #10 0x08071916 in rebuild_database () at ./bld/rebuild_.c:547
> #11 0x08069158 in main (argc=<value optimized out>, argv=0x3) at
> ./bld/main_.c:289
>
>


-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to