Git development
 help / color / mirror / Atom feed
* Media repositories and memory usage
@ 2008-11-20 16:19 Nguyen Thai Ngoc Duy
  0 siblings, 0 replies; only message in thread
From: Nguyen Thai Ngoc Duy @ 2008-11-20 16:19 UTC (permalink / raw)
  To: Git Mailing List, Tim Ansell

Hi,

There is another aspect I did not see Tim mention in his slides:
memory usage with large blobs. Git has tradition of loading the whole
blob in memory for easy manipulation. It could consume a lot of memory
in large blob case (and particularly worse in mingw port because it
does not support mmap).

I see these operations that need access to blobs:
 1. checkout blobs
 2. checkin blobs
 3. diff/delta blobs

Diffing blobs should be avoided any way for large blobs. Checking in
blobs does not require lots of memory. I'm working on checkout case to
reduce memory footprint. Is there any other case that will need full
blob in memory?

PS. For checkout/checkin case, if you do any conversion, full blob in
memory is still needed. But I guess that is rare for large blobs.
-- 
Duy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-20 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20 16:19 Media repositories and memory usage Nguyen Thai Ngoc Duy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox