Amir Tahvildaran on 9 Aug 2012 14:12:35 -0700


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

Re: [PLUG] git failure


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> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
- --
#  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/

iEYEARECAAYFAlAkJTMACgkQ2sGpvXQrZ/6T+wCgx/gGKe6d6vom65wXoHjHI0q4
LVsAnRF9qVjSOsIM+JlRaXSbZpb0k/g8
=44Fb
-----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


___________________________________________________________________________
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