{"thread":{"id":"12058","subject":"git-clone fails with out of memory,malloc failed7","startedAt":"2008-02-12T15:57:10Z","lastAt":"2008-02-12T17:52:19Z","messageCount":3,"participants":["pradeep singh rautela","Nicolas Pitre"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"68527","messageId":"6bc632150802120757r5dbeee6bmed9ccde4ca6f40d2@mail.gmail.com","threadId":"12058","inReplyTo":null,"subject":"git-clone fails with out of memory,malloc failed7","fromName":"pradeep singh rautela","fromEmail":"rautelap@gmail.com","sentAt":"2008-02-12T15:57:10Z","receivedAt":"2008-02-12T15:57:10Z","isPatch":false,"sender":{"key":"rautelap@gmail.com","avatar":null},"body":"Hi All,\n\nI compiled a fresh git 1.5.4 and tried to clone Ingo's kgdb-lite tree.\nI got rather strange out of memory. malloc failed7 error.\n\nI am using a 32 bit kernel on a pentium D processor with 1 GB of ram.\n\nIs this a git issue or something else?\nCan someone help me in telling me which is the correct place to report this?\nBetter if this is a known issue ?\n\nisn't 1 GB of RAM enough for git???\n\nluser@helvella:/opt/repo/archive$ sudo git-clone\ngit://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-kgdb.git\n[sudo] password for luser:\nInitialized empty Git repository in /opt/repo/archive/linux-2.6-kgdb/.git/\nremote: Counting objects: 712950, done.\nremote: Compressing objects: 100% (124251/124251), done.\nremote: Total 712950 (delta 591747), reused 708812 (delta 587713)\nReceiving objects: 100% (712950/712950), 173.74 MiB | 40 KiB/s, done.\nfatal: Out of memory, malloc failed7)\nfatal: index-pack failed\nfetch-pack from\n'git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-kgdb.git'\nfailed.\n\nps: Please CC me, as I am not subscribed to the list.\n\nThanks,\n           --Pradeep\n-- \nPradeep Singh Rautela\nhttp://eagain.wordpress.com\nhttp://emptydomain.googlepages.com\n"},{"id":"68534","messageId":"alpine.LFD.1.00.0802121218280.2732@xanadu.home","threadId":"12058","inReplyTo":"6bc632150802120757r5dbeee6bmed9ccde4ca6f40d2@mail.gmail.com","subject":"Re: git-clone fails with out of memory,malloc failed7","fromName":"Nicolas Pitre","fromEmail":"nico@cam.org","sentAt":"2008-02-12T17:23:59Z","receivedAt":"2008-02-12T17:23:59Z","isPatch":false,"sender":{"key":"nico@fluxnic.net","avatar":"https://avatars.githubusercontent.com/u/702790?v=4"},"body":"On Tue, 12 Feb 2008, pradeep singh rautela wrote:\n\n> Hi All,\n> \n> I compiled a fresh git 1.5.4 and tried to clone Ingo's kgdb-lite tree.\n> I got rather strange out of memory. malloc failed7 error.\n> \n> I am using a 32 bit kernel on a pentium D processor with 1 GB of ram.\n> \n> Is this a git issue or something else?\n> Can someone help me in telling me which is the correct place to report this?\n\nThis is the right place.\n\n> Better if this is a known issue ?\n\nIt is not.\n\n> isn't 1 GB of RAM enough for git???\n\nIt is plenty sufficient with the repository you tried it on.\n\n> luser@helvella:/opt/repo/archive$ sudo git-clone\n> git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-kgdb.git\n> [sudo] password for luser:\n\nWhy do you use sudo to run git?\n\n> Initialized empty Git repository in /opt/repo/archive/linux-2.6-kgdb/.git/\n> remote: Counting objects: 712950, done.\n> remote: Compressing objects: 100% (124251/124251), done.\n> remote: Total 712950 (delta 591747), reused 708812 (delta 587713)\n> Receiving objects: 100% (712950/712950), 173.74 MiB | 40 KiB/s, done.\n> fatal: Out of memory, malloc failed7)\n> fatal: index-pack failed\n\nI just cloned the above repository with Git v1.5.4 with no problem at \nall, and index-pack never used more than 52 megs of actual memory.\n\nPuzzled.\n\n\nNicolas\n"},{"id":"68537","messageId":"6bc632150802120952n2b6abbb4tea8cde0fddbf7a7c@mail.gmail.com","threadId":"12058","inReplyTo":"alpine.LFD.1.00.0802121218280.2732@xanadu.home","subject":"Re: git-clone fails with out of memory,malloc failed7","fromName":"pradeep singh rautela","fromEmail":"rautelap@gmail.com","sentAt":"2008-02-12T17:52:19Z","receivedAt":"2008-02-12T17:52:19Z","isPatch":false,"sender":{"key":"rautelap@gmail.com","avatar":null},"body":"[...]\n>\n> > Better if this is a known issue ?\n>\n> It is not.\n>\n> > isn't 1 GB of RAM enough for git???\n>\n> It is plenty sufficient with the repository you tried it on.\n>\n> > luser@helvella:/opt/repo/archive$ sudo git-clone\n> > git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-kgdb.git\n> > [sudo] password for luser:\n>\n> Why do you use sudo to run git?\n\nbecause I(as luser :) ) did not have write permissions in the\ndirectory where I intend to clone the repo.\n>\n> > Initialized empty Git repository in /opt/repo/archive/linux-2.6-kgdb/.git/\n> > remote: Counting objects: 712950, done.\n> > remote: Compressing objects: 100% (124251/124251), done.\n> > remote: Total 712950 (delta 591747), reused 708812 (delta 587713)\n> > Receiving objects: 100% (712950/712950), 173.74 MiB | 40 KiB/s, done.\n> > fatal: Out of memory, malloc failed7)\n> > fatal: index-pack failed\n>\n> I just cloned the above repository with Git v1.5.4 with no problem at\n> all, and index-pack never used more than 52 megs of actual memory.\n>\n> Puzzled.\n\nme too.Thought it may be some git issue so reported.\nSeems like it is once in a blue moon situation.\nNevermind, thanks for reply.\n\nCu,\n    --Pradeep\n\n-- \nPradeep Singh Rautela\nhttp://eagain.wordpress.com\nhttp://emptydomain.googlepages.com\n"}]}