Eric at Lucii.org on 9 Aug 2012 14:29:45 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] git failure


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Amir:

That was it!  There were some fairly large tar.gz files in there so I just drilled down and added all the other files /except/ those files and it worked.

Thanks,
Eric

On 08/09/2012 05:12 PM, Amir Tahvildaran wrote:
> How much/what are you adding?
> 
> This guy was adding large binary files: http://git.661346.n2.nabble.com/quot-malloc-failed-quot-td2226237.html
> 
>> the git code assumes it can malloc() at least two blocks large enough for each file: one of the fully decompressed content, and another for the > fully compressed content. Try doing git add on a large file and its very likely malloc will fail due to ulimit issues, or you just don't have enough memory/address space to go around.
> 
> 
> On Thu, Aug 9, 2012 at 5:01 PM, Eric at Lucii.org <eric@lucii.org <mailto:eric@lucii.org>> wrote:
> 
> What's happening here?
> 
> git add * fatal: Out of memory, malloc failed
> 
> It's a VM with 1GB RAM but no swap: free total       used       free     shared    buffers     cached Mem:       1048576     306168     742408          0          0          0 -/+ buffers/cache:     306168     742408 Swap:            0          0          0
> 
> I am NOT happy!
> 
> Eric ___________________________________________________________________________ Philadelphia Linux Users Group         --        http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
> 
> 
> 
> 
> ___________________________________________________________________________ Philadelphia Linux Users Group         --        http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
> 

- -- 
#  Eric Lucas
#
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAkK+EACgkQ2sGpvXQrZ/5Y2gCg38hSuboz+z5QwPqApw262oue
l2EAoNTIjtkterSaJ6jQuDHLLXPGNinf
=hO3x
-----END PGP SIGNATURE-----
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug