jedbrown / git-fat

Simple way to handle fat files without committing them to git, supports synchronization using rsync
BSD 2-Clause "Simplified" License
620 stars 136 forks source link

Ran out of memory when git fat pull very large file #55

Open jayjayhub opened 9 years ago

jayjayhub commented 9 years ago

The following is a snippet of a git fat pull process that ran out of memory. Is there anything I can do to increase the memory? Thanks.

06:15:52 + git fat pull 06:16:39
receiving file list ... 06:16:39 2 files to consider 06:16:39 e0b0c99922873f2e442fc0ee71ec96a3672fcd79 ... ... ... 06:32:28 sent 49 bytes received 24723052959 bytes 26010576.55 bytes/sec 06:32:28 total size is 24720035178 speedup is 1.0 06:35:28 fatal: Out of memory, realloc failed 06:35:29 Restoring e4d6644ce07a86924e5b73a639d71c68dc883511 -> EmpHydroCyclone.sim 06:35:29 Traceback (most recent call last): 06:35:29 File "/home/star/mirror/git/latest/linux-x86_64/bin/git-fat", line 530, in 06:35:29 fat.cmd_pull(sys.argv[2:]) 06:35:29 File "/home/star/mirror/git/latest/linux-x86_64/bin/git-fat", line 380, in cmd_pull 06:35:29 self.checkout() 06:35:29 File "/home/star/mirror/git/latest/linux-x86_64/bin/git-fat", line 360, in checkout 06:35:29 subprocess.check_call(['git', 'checkout-index', '--index', '--force', fname]) 06:35:29 File "/home/test/hudson/tool/linux-x86_64/lib/python2.7/subprocess.py", line 504, in check_call 06:35:29 raise CalledProcessError(retcode, cmd) 06:35:29 subprocess.CalledProcessError: Command '['git', 'checkout-index', '--index', '--force', 'EmpHydroCyclone.sim']' returned non-zero exit status 128