Nicolas Pitre <nico@cam.org> wrote:And fortunately here we actually do stream the objects we have chosen to reuse from the pack. We don't allocate the entire thing in memory. Its probably the only place in all of Git where we can handle a 16 GB (after compression) object on a machine with only 2 GB of memory and no swap. Where little memory systems get into trouble with already packed repositories is enumerating the objects to include in the pack. This can still blow out their physical memory if the number of objects to pack is high enough. We need something like 160 bytes of memory (my own memory is fuzzy on that estimate) per object. Have 500k objects and its suddenly something quite real in terms of memory usage. -- Shawn. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Greg Kroah-Hartman | [PATCH 027/196] tifm: Convert from class_device to device for TI flash media |
| Kok, Auke | Re: Linux 2.6.21-rc1 |
| Trent Piepho | Re: [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Arjan van de Ven | Re: [GIT]: Networking |
| Ingo Molnar | Re: [PATCH 01/10] x86: add Kconfig entry for DMA-API debugging |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
