Re: pack bitmap woes on Windows
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Feb 12, 2014, 12:44 UTC
- Message-ID
- <52FB6C9A.30204@viscovery.net>
- In-Reply-To
- <CABPQNSZAK2d1hSQNG6uoNHoTJGCiq2UnaBP+_RJkPi47xaxGPQ@mail.gmail.com>
Am 2/12/2014 12:56, schrieb Erik Faye-Lund:
Show 18 quoted lines
> On Wed, Feb 12, 2014 at 8:27 AM, Johannes Sixt <j.sixt@viscovery.net> wrote:
>> Running test suite of 'next' on Windows fails in t5310-pack-bitmaps with
>> the following symptoms. I haven't followed the topic. Have there been
>> patches floating that addressed the problem in one way or another?
>>
>> (gdb) run
>> Starting program: D:\Src\mingw-git\t\trash directory.t5310-pack-bitmaps/..\..\git.exe rev-list --test-bitmap HEAD
>> [New thread 3528.0x8d4]
>> Bitmap v1 test (20 entries loaded)
>> Found bitmap for 537ea4d3eb79c95f602873b1167c480006d2ac2d. 64 bits / 15873b36 checksum
>>
>> Breakpoint 1, die (err=0x5939e9 "Out of memory, realloc failed") at usage.c:97
>> 97 if (die_is_recursing()) {
>> (gdb) bt
>> #0 die (err=0x5939e9 "Out of memory, realloc failed") at usage.c:97
>> #1 0x00487c4c in xrealloc (ptr=0x12b10008, size=837107040) at wrapper.c:109
>
> ~800 megs is a pretty large allocation for 32-bit systems. What gives?That's exactly the problem: why would a tiny repository from the test suite require such a large allocation? (Not to mention that the allocation ultimately fails in my case.)