* BUG Report. Why GIT commit need 30GB of memory for a commit?
@ 2012-08-20 5:12 Jose Nobile
2012-08-20 5:48 ` Robin Rosenberg
0 siblings, 1 reply; 2+ messages in thread
From: Jose Nobile @ 2012-08-20 5:12 UTC (permalink / raw)
To: git
I have a big repository, around 80GB
git --version
#git version 1.7.12
git init .
#Initialized empty Git repository in /reponame/.git/
git add -A .
git commmit -m "Backup 2012-08-19 03:43:44"
#fatal: Out of memory, malloc failed (tried to allocate 32220431361 bytes)
#[master (root-commit) 8053f0d] Backup 2012-08-19 03:43:44
Why GIT need 30GB of memory for a commit?
This is not in accordance with the first paragraph of the homepage of
main page of GIT:
Git is a free and open source distributed version control system
designed to handle everything from small to very large projects with
speed and efficiency.
Greetings,
José Nobile
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: BUG Report. Why GIT commit need 30GB of memory for a commit?
2012-08-20 5:12 BUG Report. Why GIT commit need 30GB of memory for a commit? Jose Nobile
@ 2012-08-20 5:48 ` Robin Rosenberg
0 siblings, 0 replies; 2+ messages in thread
From: Robin Rosenberg @ 2012-08-20 5:48 UTC (permalink / raw)
To: Jose Nobile; +Cc: git
Jose Nobile skrev 2012-08-20 07.12:
> I have a big repository, around 80GB
> git --version
> #git version 1.7.12
> git init .
> #Initialized empty Git repository in /reponame/.git/
> git add -A .
>
> git commmit -m "Backup 2012-08-19 03:43:44"
> #fatal: Out of memory, malloc failed (tried to allocate 32220431361 bytes)
> #[master (root-commit) 8053f0d] Backup 2012-08-19 03:43:44
>
> Why GIT need 30GB of memory for a commit?
It may be trying to compute a commit summary. Add -q to avoid the work.
-- robin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-20 5:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-20 5:12 BUG Report. Why GIT commit need 30GB of memory for a commit? Jose Nobile
2012-08-20 5:48 ` Robin Rosenberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).